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.001908/0.001908, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.002091/0.002091, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.438/1.438, allocations: 154.8 MB / 414.3 MB, free: 440 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 178] 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5199 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.812e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003824/0.003852, allocations: 2.172 MB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006511/0.01036, allocations: 4.196 MB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.01052, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01169, allocations: 180.8 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.01191, allocations: 80.94 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009396/0.01285, allocations: 336.9 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000834/0.01368, allocations: 466.4 kB / 0.5271 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.01381, allocations: 32.92 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.0141, allocations: 187.6 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.01433, allocations: 126.4 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.01439, allocations: 23.94 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.01505, allocations: 327.4 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01521, allocations: 119.6 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.01537, allocations: 111.7 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009348/0.0163, allocations: 0.6399 MB / 0.5286 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01631, allocations: 0 / 0.5286 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.647e-06/0.01631, allocations: 4 kB / 0.5286 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.01632, allocations: 0 / 0.5286 GB, free: 9.367 MB / 0.4948 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.001564/0.01788, allocations: 0.8221 MB / 0.5294 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.01792, allocations: 12.03 kB / 0.5294 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.01974, allocations: 276.9 kB / 0.5297 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.02065, allocations: 326.3 kB / 0.53 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.02067, allocations: 12.56 kB / 0.53 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.0207, allocations: 9.281 kB / 0.53 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.02127, allocations: 201.7 kB / 0.5302 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.02128, allocations: 0 / 0.5302 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.02131, allocations: 6.438 kB / 0.5302 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.02131, allocations: 4 kB / 0.5302 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.02204, allocations: 214.8 kB / 0.5304 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.02364, allocations: 0.6255 MB / 0.531 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.02408, allocations: 141 kB / 0.5312 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.02446, allocations: 121.8 kB / 0.5313 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/0.02453, allocations: 16 kB / 0.5313 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.02456, allocations: 33.39 kB / 0.5313 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.02457, allocations: 1.281 kB / 0.5313 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001386/0.02595, allocations: 408.2 kB / 0.5317 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.026, allocations: 55.41 kB / 0.5318 GB, free: 6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.02662, allocations: 0.5001 MB / 0.5323 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.02666, allocations: 29.7 kB / 0.5323 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.02691, allocations: 271.1 kB / 0.5326 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.02697, allocations: 39.66 kB / 0.5326 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.02712, allocations: 68.48 kB / 0.5327 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003386/0.02746, allocations: 0.547 MB / 0.5332 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.02815, allocations: 159.4 kB / 0.5333 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.02857, allocations: 171.6 kB / 0.5335 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.0294, allocations: 307.1 kB / 0.5338 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.0294, allocations: 0 / 0.5338 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001119/0.03052, allocations: 460.1 kB / 0.5342 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.03059, allocations: 45.69 kB / 0.5343 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.03059, allocations: 0.5 kB / 0.5343 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.03061, allocations: 2.5 kB / 0.5343 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.03106, allocations: 47.95 kB / 0.5343 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.03107, allocations: 3.984 kB / 0.5343 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.0314, allocations: 39.77 kB / 0.5344 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.03143, allocations: 12.92 kB / 0.5344 GB, free: 3.262 MB / 0.4948 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.0002003/0.03163, allocations: 178.9 kB / 0.5346 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.03174, allocations: 43.77 kB / 0.5346 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.0328, allocations: 327.3 kB / 0.5349 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0328, allocations: 0.6562 kB / 0.5349 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.03281, allocations: 0 / 0.5349 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.03281, allocations: 6.359 kB / 0.5349 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.03332, allocations: 312.3 kB / 0.5352 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.03332, allocations: 0 / 0.5352 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.0337, allocations: 55.88 kB / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.0337, allocations: 0 / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.03373, allocations: 0.8438 kB / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.03373, allocations: 0 / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03373, allocations: 6.875 kB / 0.5353 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.03477, allocations: 458.4 kB / 0.5357 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.03496, allocations: 65.45 kB / 0.5358 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.03503, allocations: 4 kB / 0.5358 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.03533, allocations: 15.98 kB / 0.5358 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.03543, allocations: 23.97 kB / 0.5358 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.03546, allocations: 6.516 kB / 0.5358 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000394/0.03585, allocations: 327 kB / 0.5361 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03585, allocations: 0 / 0.5361 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005435/0.0364, allocations: 119.9 kB / 0.5363 GB, free: 1.305 MB / 0.4948 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.0004821/0.03688, allocations: 190.9 kB / 0.5364 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.03805, allocations: 414 kB / 0.5368 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03805, allocations: 0 / 0.5368 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.03851, allocations: 137.3 kB / 0.537 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.03915, allocations: 76.33 kB / 0.537 GB, free: 492 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.04079, allocations: 0.6286 MB / 0.5376 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.04108, allocations: 201.9 kB / 0.5378 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.0414, allocations: 59.31 kB / 0.5379 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.04154, allocations: 33.23 kB / 0.5379 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.04154, allocations: 0 / 0.5379 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.01291/0.05445, allocations: 5.807 MB / 0.5436 GB, free: 9.891 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.323147070012055]