Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0007621/0.0007621, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.0008483/0.0008483, allocations: 214.5 kB / 22.25 MB, free: 3.57 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.9676/0.9676, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7873/0.7873, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001/0.001, allocations: 66.97 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5503, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002592/0.5528, allocations: 2.103 MB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004414/0.5573, allocations: 3.928 MB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.5574, allocations: 5.938 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.5582, allocations: 174.1 kB / 0.8239 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.5584, allocations: 84.45 kB / 0.8239 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.5592, allocations: 330.2 kB / 0.8243 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006437/0.5599, allocations: 461.5 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.56, allocations: 35.03 kB / 0.8247 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.5602, allocations: 142.6 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.5603, allocations: 151.9 kB / 0.825 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.5604, allocations: 24.44 kB / 0.825 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.5609, allocations: 329.2 kB / 0.8253 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.5611, allocations: 118.2 kB / 0.8255 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.5612, allocations: 139.4 kB / 0.8256 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007518/0.562, allocations: 0.5855 MB / 0.8262 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.562, allocations: 0 / 0.8262 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.562, allocations: 0 / 0.8262 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.562, allocations: 4 kB / 0.8262 GB, free: 11.89 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001094/0.5631, allocations: 0.7465 MB / 0.8269 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5631, allocations: 7.688 kB / 0.8269 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.5631, allocations: 43.3 kB / 0.8269 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5643, allocations: 309.1 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.565, allocations: 358.1 kB / 0.8276 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.565, allocations: 12.47 kB / 0.8276 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.565, allocations: 15.05 kB / 0.8276 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.5655, allocations: 256.4 kB / 0.8279 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5655, allocations: 7.938 kB / 0.8279 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.5655, allocations: 5.734 kB / 0.8279 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5656, allocations: 2.312 kB / 0.8279 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.5662, allocations: 348.5 kB / 0.8282 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.5673, allocations: 0.624 MB / 0.8288 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.5678, allocations: 225.2 kB / 0.829 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.5681, allocations: 176.2 kB / 0.8292 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/0.5682, allocations: 28.09 kB / 0.8292 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5682, allocations: 32.22 kB / 0.8293 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.5682, allocations: 1.188 kB / 0.8293 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001481/0.5697, allocations: 0.5858 MB / 0.8298 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5697, allocations: 53.97 kB / 0.8299 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.5703, allocations: 455.9 kB / 0.8303 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5703, allocations: 30.89 kB / 0.8303 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5705, allocations: 192.5 kB / 0.8305 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.5705, allocations: 44.53 kB / 0.8306 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.5706, allocations: 52.56 kB / 0.8306 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5707, allocations: 354.3 kB / 0.831 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.5712, allocations: 343.5 kB / 0.8313 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.5716, allocations: 348.5 kB / 0.8316 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.5724, allocations: 0.5417 MB / 0.8321 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5724, allocations: 0 / 0.8321 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001149/0.5736, allocations: 0.7863 MB / 0.8329 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.5736, allocations: 41.08 kB / 0.833 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5737, allocations: 3.938 kB / 0.833 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5737, allocations: 1.188 kB / 0.833 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.574, allocations: 78.81 kB / 0.833 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.574, allocations: 0 / 0.833 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5743, allocations: 50.42 kB / 0.8331 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5744, allocations: 9.562 kB / 0.8331 GB, free: 8.551 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002359/0.5746, allocations: 166.5 kB / 0.8332 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.5747, allocations: 41.16 kB / 0.8333 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.5757, allocations: 466.1 kB / 0.8337 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5757, allocations: 6.094 kB / 0.8337 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.5757, allocations: 1.219 kB / 0.8337 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5757, allocations: 8.734 kB / 0.8337 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.5762, allocations: 314.8 kB / 0.834 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5762, allocations: 0.7031 kB / 0.834 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.5764, allocations: 59.05 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.5764, allocations: 1.641 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.5765, allocations: 8.109 kB / 0.8341 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5765, allocations: 1.438 kB / 0.8341 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5765, allocations: 4.703 kB / 0.8341 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.5773, allocations: 0.5279 MB / 0.8346 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5774, allocations: 59.69 kB / 0.8347 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.5775, allocations: 4.609 kB / 0.8347 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5777, allocations: 33.78 kB / 0.8347 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5778, allocations: 21.97 kB / 0.8347 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.5778, allocations: 9.109 kB / 0.8348 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003781/0.5782, allocations: 312.2 kB / 0.8351 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5782, allocations: 0 / 0.8351 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007119/0.5789, allocations: 130.5 kB / 0.8352 GB, free: 7.551 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 (13): * Single equations (assignments): 13 * 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.00161/0.5805, allocations: 1.125 MB / 0.8363 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.5816, allocations: 0.6364 MB / 0.8369 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5816, allocations: 4 kB / 0.8369 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.582, allocations: 187.2 kB / 0.8371 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.5824, allocations: 76.5 kB / 0.8372 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.5886, allocations: 5.475 MB / 0.8425 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.5888, allocations: 192.3 kB / 0.8427 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.5892, allocations: 67.06 kB / 0.8427 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.5893, allocations: 121.8 kB / 0.8429 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of SimCode: time 1.974e-06/0.5893, allocations: 0 / 0.8429 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.6169, allocations: 10.33 MB / 0.853 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/7.417, allocations: 7.188 kB / 0.853 GB, free: 13.6 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.486710803117603] Failed to read output from testmodel.py, exit status != 0: 7.498360527679324 7.511321913 6.947289548 Calling exit ...