Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007268/0.0007268, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007691/0.0007691, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9429/0.9429, allocations: 230.6 MB / 256 MB, free: 9.656 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7913/0.7913, allocations: 203.5 MB / 0.5039 GB, free: 10.79 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_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.001128/0.001128, allocations: 68.89 kB / 0.7178 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.563, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002533/0.5656, allocations: 2.218 MB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004435/0.57, allocations: 4.592 MB / 0.824 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.5701, allocations: 6.25 kB / 0.824 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.5708, allocations: 231.7 kB / 0.8243 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.571, allocations: 143 kB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.5711, allocations: 65.03 kB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000526/0.5717, allocations: 413.6 kB / 0.8249 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.5718, allocations: 62.95 kB / 0.8249 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.572, allocations: 146.9 kB / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.5722, allocations: 139.7 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.5722, allocations: 15.25 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.898e-05/0.5723, allocations: 44.81 kB / 0.8252 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.5724, allocations: 97.17 kB / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.5725, allocations: 123.5 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.5729, allocations: 335 kB / 0.8258 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5729, allocations: 1.531 kB / 0.8258 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5729, allocations: 0 / 0.8258 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5729, allocations: 4.594 kB / 0.8258 GB, free: 11.81 MB / 0.6198 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.0008684/0.5737, allocations: 0.6218 MB / 0.8264 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5738, allocations: 8.688 kB / 0.8264 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.5739, allocations: 59.55 kB / 0.8265 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.5741, allocations: 82.69 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.5745, allocations: 283.1 kB / 0.8268 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.5745, allocations: 9.625 kB / 0.8268 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.5746, allocations: 16.59 kB / 0.8268 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.575, allocations: 291.1 kB / 0.8271 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.575, allocations: 3.312 kB / 0.8271 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.575, allocations: 7.938 kB / 0.8271 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.575, allocations: 25.17 kB / 0.8271 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.5756, allocations: 310 kB / 0.8274 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.5766, allocations: 0.6989 MB / 0.8281 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.577, allocations: 300.7 kB / 0.8284 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.5773, allocations: 171.4 kB / 0.8286 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5773, allocations: 2.469 kB / 0.8286 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5773, allocations: 37.81 kB / 0.8286 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.202e-06/0.5773, allocations: 3.938 kB / 0.8286 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.000835/0.5782, allocations: 496.6 kB / 0.8291 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.5782, allocations: 54.73 kB / 0.8291 GB, free: 10 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.5784, allocations: 320.5 kB / 0.8294 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5785, allocations: 30.45 kB / 0.8295 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5786, allocations: 191.1 kB / 0.8297 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.5786, allocations: 79.11 kB / 0.8297 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.5787, allocations: 54.55 kB / 0.8298 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5788, allocations: 345.8 kB / 0.8301 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.579, allocations: 131.3 kB / 0.8302 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.5793, allocations: 163.5 kB / 0.8304 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.5799, allocations: 308.4 kB / 0.8307 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5799, allocations: 4.594 kB / 0.8307 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006178/0.5805, allocations: 375.7 kB / 0.831 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5806, allocations: 4.781 kB / 0.8311 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5806, allocations: 6.172 kB / 0.8311 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5806, allocations: 1.25 kB / 0.8311 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5808, allocations: 62.67 kB / 0.8311 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5808, allocations: 1.188 kB / 0.8311 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.5809, allocations: 32.28 kB / 0.8312 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5809, allocations: 12.56 kB / 0.8312 GB, free: 8.844 MB / 0.6198 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.0001242/0.5811, allocations: 165.4 kB / 0.8313 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.5811, allocations: 35.23 kB / 0.8314 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.5812, allocations: 46.62 kB / 0.8314 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5812, allocations: 2.656 kB / 0.8314 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5812, allocations: 0.6094 kB / 0.8314 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5812, allocations: 0.75 kB / 0.8314 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.5822, allocations: 0.7967 MB / 0.8322 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5822, allocations: 0 / 0.8322 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.5824, allocations: 58.33 kB / 0.8322 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5824, allocations: 1.094 kB / 0.8322 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5824, allocations: 13.06 kB / 0.8323 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5824, allocations: 1.094 kB / 0.8323 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5825, allocations: 7.875 kB / 0.8323 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.583, allocations: 470.7 kB / 0.8327 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.5831, allocations: 64.16 kB / 0.8328 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.5831, allocations: 6.672 kB / 0.8328 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5833, allocations: 21.78 kB / 0.8328 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.5833, allocations: 22.39 kB / 0.8328 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.5833, allocations: 7.406 kB / 0.8328 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001656/0.5835, allocations: 227.4 kB / 0.833 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5835, allocations: 0 / 0.833 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002291/0.5837, allocations: 78.47 kB / 0.8331 GB, free: 7.773 MB / 0.6198 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.001103/0.5848, allocations: 1.204 MB / 0.8343 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.5854, allocations: 310.7 kB / 0.8346 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5854, allocations: 1.125 kB / 0.8346 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.5856, allocations: 154.5 kB / 0.8347 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.586, allocations: 89 kB / 0.8348 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.59, allocations: 3.444 MB / 0.8382 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.5902, allocations: 196.6 kB / 0.8384 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.5904, allocations: 100.2 kB / 0.8385 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.5906, allocations: 112.6 kB / 0.8386 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5906, allocations: 0 / 0.8386 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.6134, allocations: 8.736 MB / 0.8471 GB, free: 416 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.572, allocations: 6.641 kB / 0.8471 GB, free: 412 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.482760686427355] Failed to read output from testmodel.py, exit status != 0: 7.6566580049693584 7.670203386 7.095359476 Calling exit ...