Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.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.0008832/0.0008832, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009951/0.0009951, allocations: 181 kB / 23.36 MB, free: 1.133 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.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7879/0.7879, allocations: 154.9 MB / 415.1 MB, free: 240 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 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.Sources.Examples.OutsideAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir") translateModel(IDEAS.Fluid.Sources.Examples.OutsideAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.38e-05, allocations: 6.484 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.OutsideAir): time 0.1331/0.1332, allocations: 153.2 MB / 0.6187 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1452, allocations: 11.02 MB / 0.6295 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1463, allocations: 59.56 kB / 0.6295 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.1477, allocations: 1.045 MB / 0.6306 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.1506, allocations: 2.055 MB / 0.6326 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1531, allocations: 1.835 MB / 0.6344 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.1574, allocations: 6.601 MB / 0.6408 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004077/0.1614, allocations: 4.391 MB / 0.6451 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.1646, allocations: 3.861 MB / 0.6489 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.1667, allocations: 2.459 MB / 0.6513 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.1673, allocations: 0.5781 MB / 0.6518 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.1696, allocations: 1.802 MB / 0.6536 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000937/0.1705, allocations: 1.706 MB / 0.6553 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.1721, allocations: 1.812 MB / 0.657 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.177, allocations: 5.486 MB / 0.6624 GB, free: 272 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.177, allocations: 4 kB / 0.6624 GB, free: 268 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.177, allocations: 0 / 0.6624 GB, free: 268 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-05/0.177, allocations: 0 / 0.6624 GB, free: 268 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1040 * Number of variables: 1040 Notification: Performance of Generate backend data structure: time 0.006921/0.1839, allocations: 5.503 MB / 0.6678 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.184, allocations: 8.031 kB / 0.6678 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/0.1939, allocations: 2.861 MB / 0.6706 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.1981, allocations: 2.28 MB / 0.6728 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.1983, allocations: 308.1 kB / 0.6731 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005288/0.1988, allocations: 404 kB / 0.6735 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/0.2045, allocations: 4.371 MB / 0.6777 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.2046, allocations: 3.938 kB / 0.6777 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2745/0.4791, allocations: 172.2 kB / 0.6779 GB, free: 69.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.4792, allocations: 102 kB / 0.678 GB, free: 69.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/0.4844, allocations: 2.105 MB / 0.6801 GB, free: 69.58 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.4995, allocations: 8.525 MB / 0.6884 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.503, allocations: 1.993 MB / 0.6903 GB, free: 67.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/0.5039, allocations: 0.6887 MB / 0.691 GB, free: 67.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.5043, allocations: 226.1 kB / 0.6912 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.5059, allocations: 1.853 MB / 0.693 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=287): time 5.891e-06/0.5059, allocations: 0.9688 kB / 0.693 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=287): time 0.004033/0.5099, allocations: 2.221 MB / 0.6952 GB, free: 66.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.51, allocations: 190.1 kB / 0.6954 GB, free: 66.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.5123, allocations: 2.501 MB / 0.6978 GB, free: 65.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.5126, allocations: 81.39 kB / 0.6979 GB, free: 65.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000839/0.5134, allocations: 1.467 MB / 0.6993 GB, free: 65.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.5141, allocations: 0.9844 MB / 0.7003 GB, free: 64.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/0.5149, allocations: 0.5771 MB / 0.7009 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.5149, allocations: 302.1 kB / 0.7011 GB, free: 64.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.5159, allocations: 0.5647 MB / 0.7017 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.5168, allocations: 0.9677 MB / 0.7026 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.5188, allocations: 1.54 MB / 0.7041 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.5188, allocations: 0.9688 kB / 0.7041 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.003208/0.522, allocations: 1.893 MB / 0.706 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.522, allocations: 8.188 kB / 0.706 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.5221, allocations: 10.36 kB / 0.706 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/0.5225, allocations: 133.2 kB / 0.7061 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/0.525, allocations: 0.9288 MB / 0.707 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.526, allocations: 1.319 MB / 0.7083 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.5281, allocations: 401.8 kB / 0.7087 GB, free: 62.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.5284, allocations: 114.7 kB / 0.7088 GB, free: 62.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 23 (sim.radSol[6].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[1].solAzi.outsidePolarCircle,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.decAng.tNext,$PRE.sim.weaDat.decAng.tNext,sim.weaDat.eqnTim.tNext,$PRE.sim.weaDat.eqnTim.tNext,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,sim.weaDat.locTim.tNext,$PRE.sim.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (358): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.5297, allocations: 296.7 kB / 0.7091 GB, free: 62.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/0.5304, allocations: 370.1 kB / 0.7095 GB, free: 62.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.5342, allocations: 2.52 MB / 0.7119 GB, free: 61.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.5342, allocations: 42.97 kB / 0.712 GB, free: 61.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5342, allocations: 0 / 0.712 GB, free: 61.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.5342, allocations: 15.31 kB / 0.712 GB, free: 61.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.5411, allocations: 4.56 MB / 0.7164 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.5411, allocations: 0.5469 kB / 0.7164 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/0.5433, allocations: 0.7648 MB / 0.7172 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.5437, allocations: 119 kB / 0.7173 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.5438, allocations: 70.3 kB / 0.7174 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/0.5447, allocations: 1.329 MB / 0.7187 GB, free: 59.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5447, allocations: 0.6562 kB / 0.7187 GB, free: 59.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.5475, allocations: 1.935 MB / 0.7205 GB, free: 59.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.5487, allocations: 0.585 MB / 0.7211 GB, free: 59.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.5491, allocations: 77.3 kB / 0.7212 GB, free: 59.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5505, allocations: 241.6 kB / 0.7214 GB, free: 59.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.5507, allocations: 189.5 kB / 0.7216 GB, free: 59.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.5509, allocations: 86.52 kB / 0.7217 GB, free: 59.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001369/0.5523, allocations: 1.44 MB / 0.7231 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.5523, allocations: 0.8438 kB / 0.7231 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002664/0.5549, allocations: 1.34 MB / 0.7244 GB, free: 59.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.locTim.tNext,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext) * Number of discrete states: 5 (sim.weaDat.locTim.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.557, allocations: 0.9995 MB / 0.7254 GB, free: 58.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002889/0.5599, allocations: 1.852 MB / 0.7272 GB, free: 58.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-05/0.5599, allocations: 37.27 kB / 0.7272 GB, free: 58.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.5612, allocations: 1.079 MB / 0.7283 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.5638, allocations: 0.7691 MB / 0.729 GB, free: 58.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.5732, allocations: 7.719 MB / 0.7366 GB, free: 54.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.5739, allocations: 0.9478 MB / 0.7375 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002482/0.5764, allocations: 0.7372 MB / 0.7382 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/0.5785, allocations: 0.8493 MB / 0.739 GB, free: 52.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.653e-06/0.5785, allocations: 0 / 0.739 GB, free: 52.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.07087/0.6494, allocations: 62.88 MB / 0.8004 GB, free: 9.691 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.787959904875606]