Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000761/0.0007609, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000888/0.0008882, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2263/0.2263, allocations: 22.34 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.000513, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4525, allocations: 55.97 MB / 437.9 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002771/0.4554, allocations: 1.576 MB / 439.5 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.4561, allocations: 198.5 kB / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.4562, allocations: 2.469 kB / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.143e-05/0.4563, allocations: 7.312 kB / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.4566, allocations: 53.22 kB / 439.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.4568, allocations: 43.22 kB / 439.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.4571, allocations: 210.2 kB / 440 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.4575, allocations: 87.45 kB / 440.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.4576, allocations: 82.84 kB / 440.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.4579, allocations: 98.64 kB / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.4579, allocations: 17.91 kB / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.458, allocations: 21.81 kB / 440.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.4581, allocations: 40.83 kB / 440.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.4581, allocations: 51.02 kB / 440.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.4584, allocations: 158 kB / 440.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4584, allocations: 0 / 440.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4584, allocations: 0 / 440.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4584, allocations: 0 / 440.5 MB, free: 37.48 MB / 350.1 MB 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.001018/0.4594, allocations: 453.4 kB / 441 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4595, allocations: 10.66 kB / 441 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.4596, allocations: 16.41 kB / 441 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4598, allocations: 199.6 kB / 441.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.46, allocations: 52.83 kB / 441.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.4601, allocations: 17.5 kB / 441.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.4613, allocations: 342.9 kB / 441.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4613, allocations: 0 / 441.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.4614, allocations: 6.531 kB / 441.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4614, allocations: 6.625 kB / 441.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4624, allocations: 274.7 kB / 441.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.4651, allocations: 0.9839 MB / 442.9 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.4655, allocations: 260.8 kB / 443.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.4656, allocations: 48 kB / 443.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.4656, allocations: 6 kB / 443.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.4656, allocations: 30.56 kB / 443.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/0.4656, allocations: 0 / 443.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002238/0.4679, allocations: 0.6366 MB / 443.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4679, allocations: 55.34 kB / 443.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.4682, allocations: 191.4 kB / 444.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.4682, allocations: 28.33 kB / 444.1 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.4683, allocations: 120.6 kB / 444.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.4683, allocations: 57.3 kB / 444.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4684, allocations: 4 kB / 444.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.4684, allocations: 325.2 kB / 444.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4686, allocations: 41.31 kB / 444.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4687, allocations: 87.52 kB / 444.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4689, allocations: 69.47 kB / 444.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4689, allocations: 0 / 444.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003981/0.4693, allocations: 187.3 kB / 445 MB, free: 34.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4693, allocations: 5.812 kB / 445 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4693, allocations: 7.156 kB / 445 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4694, allocations: 10.28 kB / 445 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.4697, allocations: 54.69 kB / 445.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4697, allocations: 6.922 kB / 445.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.4699, allocations: 7.062 kB / 445.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.4699, allocations: 9.656 kB / 445.1 MB, free: 34.3 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.4702, allocations: 142.1 kB / 445.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.4703, allocations: 17.56 kB / 445.2 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.4703, allocations: 27.72 kB / 445.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4704, allocations: 0 / 445.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4704, allocations: 0 / 445.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4704, allocations: 3.953 kB / 445.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4712, allocations: 0.497 MB / 445.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.4712, allocations: 0 / 445.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.4716, allocations: 37.09 kB / 445.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4716, allocations: 2.906 kB / 445.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4716, allocations: 11.09 kB / 445.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4716, allocations: 2.844 kB / 445.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4716, allocations: 3.938 kB / 445.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.472, allocations: 288.2 kB / 446.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.4721, allocations: 87.55 kB / 446.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.4722, allocations: 11.09 kB / 446.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4723, allocations: 3.953 kB / 446.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.4724, allocations: 13.12 kB / 446.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4724, allocations: 10.11 kB / 446.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.4725, allocations: 139.6 kB / 446.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4725, allocations: 0 / 446.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.473, allocations: 39.72 kB / 446.4 MB, free: 33.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.4732, allocations: 104 kB / 446.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4735, allocations: 113.2 kB / 446.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4735, allocations: 0 / 446.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4736, allocations: 54.94 kB / 446.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.4742, allocations: 35.02 kB / 446.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4753, allocations: 0.6078 MB / 447.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.4755, allocations: 0.714 MB / 448 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.4756, allocations: 17.31 kB / 448 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.4757, allocations: 22.38 kB / 448.1 MB, free: 32.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4757, allocations: 0 / 448.1 MB, free: 32.02 MB / 350.1 MB Notification: Performance of Templates: time 0.005989/0.4817, allocations: 1.632 MB / 449.7 MB, free: 31.89 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & ./AES_AES.Devel_test_models.Test_stank_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)