Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001336/0.001336, allocations: 93.06 kB / 19.65 MB, free: 280 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.001497/0.001497, allocations: 169 kB / 23.02 MB, free: 1.555 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.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-545:108: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-545:116: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.7962/0.7962, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.298e-05, allocations: 5.469 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002836/0.002869, allocations: 2.195 MB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.007027, allocations: 4.211 MB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.007183, allocations: 0 / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.007965, allocations: 181.5 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.008171, allocations: 89.23 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.008901, allocations: 338 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.009533, allocations: 461.2 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.009656, allocations: 36.86 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.009894, allocations: 191.5 kB / 0.5278 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.01005, allocations: 125.5 kB / 0.5279 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.01008, allocations: 20 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.01058, allocations: 331.4 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01069, allocations: 116.2 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.01079, allocations: 107.7 kB / 0.5285 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.01149, allocations: 0.5533 MB / 0.529 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01149, allocations: 1.781 kB / 0.529 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01149, allocations: 0 / 0.529 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.0115, allocations: 3.938 kB / 0.529 GB, free: 9.258 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.001002/0.0125, allocations: 0.8142 MB / 0.5298 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.01255, allocations: 12.03 kB / 0.5298 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.01316, allocations: 203.5 kB / 0.53 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.01365, allocations: 318.7 kB / 0.5303 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.01367, allocations: 8.562 kB / 0.5303 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.01369, allocations: 12.38 kB / 0.5304 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.01401, allocations: 178.6 kB / 0.5305 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01402, allocations: 0 / 0.5305 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01404, allocations: 4 kB / 0.5305 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.01405, allocations: 7.938 kB / 0.5305 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.01421, allocations: 75.58 kB / 0.5306 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.01509, allocations: 0.5839 MB / 0.5312 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01525, allocations: 80.09 kB / 0.5313 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.01533, allocations: 53.12 kB / 0.5313 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.01538, allocations: 19.98 kB / 0.5313 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.0154, allocations: 33.39 kB / 0.5314 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.0154, allocations: 0.5938 kB / 0.5314 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003962/0.0158, allocations: 210.2 kB / 0.5316 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.01583, allocations: 60.62 kB / 0.5316 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.01613, allocations: 454.7 kB / 0.532 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01616, allocations: 29.7 kB / 0.5321 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.01628, allocations: 256.1 kB / 0.5323 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.01632, allocations: 43.62 kB / 0.5324 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.727e-05/0.0164, allocations: 59.34 kB / 0.5324 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01658, allocations: 0.5283 MB / 0.5329 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.01672, allocations: 101.9 kB / 0.533 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.01683, allocations: 101.4 kB / 0.5331 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.01707, allocations: 176.7 kB / 0.5333 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01707, allocations: 0 / 0.5333 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003597/0.01743, allocations: 327.5 kB / 0.5336 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.01747, allocations: 43.03 kB / 0.5337 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01748, allocations: 0 / 0.5337 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.0175, allocations: 0 / 0.5337 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.01769, allocations: 57.53 kB / 0.5337 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.0177, allocations: 4 kB / 0.5337 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01782, allocations: 37.3 kB / 0.5337 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.01784, allocations: 7.984 kB / 0.5338 GB, free: 4.215 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.000106/0.01795, allocations: 172.5 kB / 0.5339 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.018, allocations: 44.94 kB / 0.534 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.01836, allocations: 190.3 kB / 0.5341 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01837, allocations: 0 / 0.5341 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01837, allocations: 0 / 0.5341 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01837, allocations: 9.031 kB / 0.5342 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01861, allocations: 272.4 kB / 0.5344 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01861, allocations: 0 / 0.5344 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.01875, allocations: 49.86 kB / 0.5345 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01875, allocations: 0 / 0.5345 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01876, allocations: 3.984 kB / 0.5345 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01877, allocations: 4 kB / 0.5345 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01877, allocations: 0.5625 kB / 0.5345 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.01906, allocations: 320.5 kB / 0.5348 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.01914, allocations: 67.61 kB / 0.5348 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01917, allocations: 2.75 kB / 0.5348 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01929, allocations: 23.98 kB / 0.5349 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.01935, allocations: 15.97 kB / 0.5349 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01936, allocations: 15.92 kB / 0.5349 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001757/0.01954, allocations: 295 kB / 0.5352 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01954, allocations: 0 / 0.5352 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003662/0.0199, allocations: 129.7 kB / 0.5353 GB, free: 2.578 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.0002778/0.02018, allocations: 183 kB / 0.5355 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.02052, allocations: 270.6 kB / 0.5357 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02052, allocations: 0 / 0.5357 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.02078, allocations: 71.64 kB / 0.5358 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.02112, allocations: 90.98 kB / 0.5359 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.02216, allocations: 0.6 MB / 0.5365 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.02223, allocations: 104.3 kB / 0.5366 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.02239, allocations: 60 kB / 0.5366 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.02247, allocations: 30.11 kB / 0.5367 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/0.02247, allocations: 0 / 0.5367 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.008279/0.03075, allocations: 5.733 MB / 0.5423 GB, free: 11.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.146939500235021]