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.001295/0.001295, allocations: 102 kB / 16.27 MB, free: 5.906 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.001218/0.001218, allocations: 192.1 kB / 17.2 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09367/0.09367, allocations: 22.32 MB / 313.4 MB, free: 8.965 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.2 kB / 381.4 MB, free: 41.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.074/0.07527, allocations: 54.96 MB / 436.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002692/0.07799, allocations: 1.821 MB / 438.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.07839, allocations: 183.4 kB / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.07846, allocations: 0 / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.07851, allocations: 19.84 kB / 438.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.07867, allocations: 47.55 kB / 438.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.07884, allocations: 59.92 kB / 438.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.07905, allocations: 231.2 kB / 438.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.07926, allocations: 105 kB / 438.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.07936, allocations: 99.7 kB / 439 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.07953, allocations: 107.6 kB / 439.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.07957, allocations: 24 kB / 439.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.07962, allocations: 24 kB / 439.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.07967, allocations: 47.83 kB / 439.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.07976, allocations: 91.58 kB / 439.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.07997, allocations: 215.6 kB / 439.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.07998, allocations: 3.984 kB / 439.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07998, allocations: 0 / 439.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.07999, allocations: 0 / 439.5 MB, free: 9.965 MB / 318.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.0007807/0.08078, allocations: 470.9 kB / 439.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.08082, allocations: 11.97 kB / 439.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.08088, allocations: 20.75 kB / 440 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.08104, allocations: 201.2 kB / 440.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.08115, allocations: 46.44 kB / 440.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.0812, allocations: 16.12 kB / 440.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.08205, allocations: 300.4 kB / 440.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.08207, allocations: 0 / 440.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.0821, allocations: 8 kB / 440.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.08211, allocations: 0 / 440.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.08289, allocations: 227.8 kB / 440.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.08479, allocations: 0.9497 MB / 441.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.08512, allocations: 260.7 kB / 441.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.0852, allocations: 44.78 kB / 442 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.08522, allocations: 7.938 kB / 442 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.08524, allocations: 34.56 kB / 442 MB, free: 7.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.08525, allocations: 0 / 442 MB, free: 7.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001713/0.08697, allocations: 0.6307 MB / 442.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.08702, allocations: 55.41 kB / 442.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.08718, allocations: 191.4 kB / 442.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.08721, allocations: 25.7 kB / 442.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.08728, allocations: 119.9 kB / 443 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.08733, allocations: 55.23 kB / 443.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.08739, allocations: 37.62 kB / 443.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.08751, allocations: 342.7 kB / 443.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.08759, allocations: 47.98 kB / 443.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.08769, allocations: 90 kB / 443.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.08853, allocations: 304.1 kB / 443.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.08855, allocations: 4 kB / 443.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002755/0.08883, allocations: 189.2 kB / 444.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.08885, allocations: 6.656 kB / 444.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.08886, allocations: 4 kB / 444.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.08888, allocations: 4 kB / 444.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.08912, allocations: 55.91 kB / 444.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.08914, allocations: 7.938 kB / 444.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.08924, allocations: 12.12 kB / 444.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.08926, allocations: 8 kB / 444.2 MB, free: 4.879 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.08946, allocations: 146.8 kB / 444.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.0895, allocations: 11.81 kB / 444.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.08956, allocations: 25.52 kB / 444.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.08957, allocations: 8 kB / 444.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.08958, allocations: 0 / 444.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.08959, allocations: 3.938 kB / 444.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.09024, allocations: 495.2 kB / 444.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.09025, allocations: 0 / 444.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.09048, allocations: 39.97 kB / 444.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.0905, allocations: 7.969 kB / 444.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.09052, allocations: 11.94 kB / 444.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.09052, allocations: 0 / 444.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.09053, allocations: 0 / 444.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.09086, allocations: 291 kB / 445.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.09093, allocations: 100.9 kB / 445.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.09096, allocations: 0 / 445.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.09108, allocations: 8 kB / 445.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.09111, allocations: 11.98 kB / 445.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.09112, allocations: 0 / 445.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.09123, allocations: 144.3 kB / 445.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09123, allocations: 0 / 445.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.09152, allocations: 36 kB / 445.5 MB, free: 3.461 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.591e-05/0.09162, allocations: 107.2 kB / 445.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.09186, allocations: 128 kB / 445.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.09187, allocations: 4 kB / 445.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.09196, allocations: 47.92 kB / 445.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.09229, allocations: 43.66 kB / 445.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.09309, allocations: 0.5265 MB / 446.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.09335, allocations: 0.7164 MB / 447.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.09341, allocations: 19.44 kB / 447.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09341, allocations: 0 / 447.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of Templates: time 0.003201/0.09662, allocations: 1.884 MB / 449 MB, free: 15.93 MB / 334.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)