Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8936/0.8936, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7297/0.7297, allocations: 155 MB / 414.2 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 73.58 kB / 0.6187 GB, free: 13.24 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4596, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002934/0.4625, allocations: 2.209 MB / 0.7204 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.4666, allocations: 4.58 MB / 0.7249 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.4668, allocations: 7.219 kB / 0.7249 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009022/0.4677, allocations: 232.7 kB / 0.7251 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.468, allocations: 136.5 kB / 0.7252 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.4682, allocations: 69.19 kB / 0.7253 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.4688, allocations: 416.7 kB / 0.7257 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.4689, allocations: 67.98 kB / 0.7258 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.4692, allocations: 199.8 kB / 0.726 GB, free: 18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.4695, allocations: 143.8 kB / 0.7261 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.4695, allocations: 16.91 kB / 0.7261 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4696, allocations: 36.44 kB / 0.7261 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.4697, allocations: 92.56 kB / 0.7262 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.4698, allocations: 123.5 kB / 0.7264 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.4703, allocations: 363.2 kB / 0.7267 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4703, allocations: 1.344 kB / 0.7267 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4703, allocations: 0 / 0.7267 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4703, allocations: 0.6562 kB / 0.7267 GB, free: 17.68 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009505/0.4712, allocations: 0.6145 MB / 0.7273 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4713, allocations: 10.38 kB / 0.7273 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.538e-05/0.4714, allocations: 66.94 kB / 0.7274 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/0.4721, allocations: 216.3 kB / 0.7276 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.4727, allocations: 280.8 kB / 0.7279 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4727, allocations: 15.84 kB / 0.7279 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.4727, allocations: 17.02 kB / 0.7279 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.4732, allocations: 322.6 kB / 0.7282 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4732, allocations: 0 / 0.7282 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.4733, allocations: 9.078 kB / 0.7282 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.4733, allocations: 29.89 kB / 0.7282 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.4738, allocations: 345.2 kB / 0.7286 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.475, allocations: 0.7249 MB / 0.7293 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.4756, allocations: 317.2 kB / 0.7296 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.476, allocations: 180.5 kB / 0.7297 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.476, allocations: 3.984 kB / 0.7297 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.476, allocations: 36.44 kB / 0.7298 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/0.476, allocations: 4 kB / 0.7298 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0009341/0.4769, allocations: 0.5313 MB / 0.7303 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.477, allocations: 57.75 kB / 0.7304 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4772, allocations: 319.8 kB / 0.7307 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4773, allocations: 30.77 kB / 0.7307 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.4774, allocations: 195 kB / 0.7309 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.4774, allocations: 80.08 kB / 0.731 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.4775, allocations: 52.72 kB / 0.731 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.4775, allocations: 351.4 kB / 0.7313 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.4778, allocations: 147.7 kB / 0.7315 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.478, allocations: 175.9 kB / 0.7316 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.4785, allocations: 335.3 kB / 0.732 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4785, allocations: 0 / 0.732 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005886/0.4791, allocations: 400.5 kB / 0.7323 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4792, allocations: 5.5 kB / 0.7324 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4792, allocations: 2.172 kB / 0.7324 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4792, allocations: 1.375 kB / 0.7324 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.4795, allocations: 69.78 kB / 0.7324 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4795, allocations: 1.375 kB / 0.7324 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.4797, allocations: 32.72 kB / 0.7325 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4797, allocations: 14.06 kB / 0.7325 GB, free: 14.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.4798, allocations: 161.2 kB / 0.7326 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.4799, allocations: 34.89 kB / 0.7327 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.4799, allocations: 53.92 kB / 0.7327 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4799, allocations: 10.69 kB / 0.7327 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4799, allocations: 1.375 kB / 0.7327 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4799, allocations: 1.406 kB / 0.7327 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4811, allocations: 0.8531 MB / 0.7336 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4811, allocations: 0 / 0.7336 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4813, allocations: 62.16 kB / 0.7336 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4813, allocations: 1.922 kB / 0.7336 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4813, allocations: 8.703 kB / 0.7336 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4813, allocations: 2.062 kB / 0.7336 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4813, allocations: 3.938 kB / 0.7336 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.4819, allocations: 0.4885 MB / 0.7341 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.482, allocations: 59.81 kB / 0.7342 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.4821, allocations: 14.2 kB / 0.7342 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4822, allocations: 26.45 kB / 0.7342 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4823, allocations: 21.3 kB / 0.7342 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4823, allocations: 9.25 kB / 0.7342 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001671/0.4825, allocations: 231.2 kB / 0.7345 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4825, allocations: 0 / 0.7345 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002695/0.4828, allocations: 74.23 kB / 0.7345 GB, free: 13.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.4839, allocations: 1.249 MB / 0.7357 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.4845, allocations: 339.1 kB / 0.7361 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4845, allocations: 1.281 kB / 0.7361 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.4848, allocations: 173.3 kB / 0.7362 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4852, allocations: 92.77 kB / 0.7363 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.4897, allocations: 3.531 MB / 0.7398 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4899, allocations: 193.7 kB / 0.74 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005172/0.4905, allocations: 115.5 kB / 0.7401 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.4907, allocations: 116.2 kB / 0.7402 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/0.4907, allocations: 0 / 0.7402 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5177, allocations: 9.22 MB / 0.7492 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/7.404, allocations: 6.438 kB / 0.7492 GB, free: 8.047 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.119237400125712] Failed to read output from testmodel.py, exit status != 0: 7.486939219059423 7.493489038 7.021655714 Calling exit ...