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.001802/0.001802, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.002196/0.002196, allocations: 173 kB / 23.49 MB, free: 1.059 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.652 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-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 0.7736/0.7736, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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: 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.833e-06/1.833e-06, allocations: 0 / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.945e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002399/0.002418, allocations: 2.194 MB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.006224, allocations: 4.21 MB / 0.5268 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.006318, allocations: 7.938 kB / 0.5268 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.0069, allocations: 171.1 kB / 0.527 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.007001, allocations: 86.78 kB / 0.5271 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.007473, allocations: 337.6 kB / 0.5274 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.007931, allocations: 465.2 kB / 0.5279 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.008036, allocations: 32.91 kB / 0.5279 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.008195, allocations: 195.4 kB / 0.5281 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.008324, allocations: 129.3 kB / 0.5282 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.008352, allocations: 24 kB / 0.5282 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.008675, allocations: 327.4 kB / 0.5285 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.008764, allocations: 111.7 kB / 0.5286 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.008848, allocations: 120.5 kB / 0.5288 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.009293, allocations: 0.545 MB / 0.5293 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009295, allocations: 0 / 0.5293 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.009295, allocations: 0.9062 kB / 0.5293 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.0093, allocations: 0 / 0.5293 GB, free: 9.371 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.0007966/0.0101, allocations: 0.8199 MB / 0.5301 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.01013, allocations: 12.02 kB / 0.5301 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.011, allocations: 268.5 kB / 0.5304 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.01145, allocations: 322.6 kB / 0.5307 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.01146, allocations: 16.5 kB / 0.5307 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.01148, allocations: 8.375 kB / 0.5307 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.01179, allocations: 186 kB / 0.5309 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.01179, allocations: 0 / 0.5309 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.01181, allocations: 4 kB / 0.5309 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.01182, allocations: 4 kB / 0.5309 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.01199, allocations: 83.12 kB / 0.5309 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01302, allocations: 0.5921 MB / 0.5315 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.01316, allocations: 80.81 kB / 0.5316 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.01325, allocations: 59.59 kB / 0.5317 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.01329, allocations: 24.67 kB / 0.5317 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.01331, allocations: 34.02 kB / 0.5317 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.01331, allocations: 0 / 0.5317 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003992/0.01371, allocations: 218.8 kB / 0.5319 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.01374, allocations: 56.89 kB / 0.532 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.01402, allocations: 458.7 kB / 0.5324 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01404, allocations: 25.7 kB / 0.5324 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01415, allocations: 255.2 kB / 0.5327 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.01419, allocations: 44.75 kB / 0.5327 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.01425, allocations: 59.34 kB / 0.5328 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01438, allocations: 0.5391 MB / 0.5333 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.0145, allocations: 99.02 kB / 0.5334 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.01461, allocations: 104.8 kB / 0.5335 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.01481, allocations: 189.3 kB / 0.5337 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01481, allocations: 0 / 0.5337 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003406/0.01515, allocations: 335 kB / 0.534 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.01518, allocations: 42.47 kB / 0.534 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01519, allocations: 0 / 0.534 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.0152, allocations: 2.125 kB / 0.534 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.01539, allocations: 55.89 kB / 0.5341 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01539, allocations: 3.938 kB / 0.5341 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.01552, allocations: 48.81 kB / 0.5342 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01554, allocations: 11.98 kB / 0.5342 GB, free: 4.176 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 9.049e-05/0.01563, allocations: 166.4 kB / 0.5343 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.01568, allocations: 43.72 kB / 0.5344 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.01599, allocations: 206.2 kB / 0.5346 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01599, allocations: 1 kB / 0.5346 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01599, allocations: 0 / 0.5346 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.016, allocations: 0.5 kB / 0.5346 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.01621, allocations: 272.4 kB / 0.5348 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01621, allocations: 2.812 kB / 0.5348 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.01635, allocations: 47.95 kB / 0.5349 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01635, allocations: 0 / 0.5349 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.01637, allocations: 7.984 kB / 0.5349 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01637, allocations: 0 / 0.5349 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01637, allocations: 0 / 0.5349 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01665, allocations: 339.3 kB / 0.5352 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.01672, allocations: 72.86 kB / 0.5353 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.01675, allocations: 0 / 0.5353 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.01689, allocations: 22.36 kB / 0.5353 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.01695, allocations: 15.97 kB / 0.5353 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01696, allocations: 11.98 kB / 0.5353 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001694/0.01713, allocations: 295 kB / 0.5356 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 0.5356 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002731/0.0174, allocations: 127.8 kB / 0.5357 GB, free: 2.527 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.0002192/0.01762, allocations: 185.8 kB / 0.5359 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.01795, allocations: 276.6 kB / 0.5362 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01795, allocations: 0 / 0.5362 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01806, allocations: 79.58 kB / 0.5362 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01835, allocations: 76.44 kB / 0.5363 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.01923, allocations: 0.6004 MB / 0.5369 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.88e-05/0.01929, allocations: 112.3 kB / 0.537 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000162/0.01946, allocations: 56.61 kB / 0.5371 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.01954, allocations: 40.41 kB / 0.5371 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.01954, allocations: 0 / 0.5371 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of Templates: time 0.00727/0.02681, allocations: 5.849 MB / 0.5428 GB, free: 11.39 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: 3.8765341171529144]