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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09554/0.09554, allocations: 21.6 MB / 37.4 MB, free: 0.7617 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001338, allocations: 188.5 kB / 43.63 MB, free: 3.566 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 254.8 MB, free: 14.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009284/0.0009285, allocations: 104.4 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 52.55 kB / 372.3 MB, free: 59.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07759/0.07877, allocations: 51.98 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002435/0.08125, allocations: 1.954 MB / 426.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.08158, allocations: 195.4 kB / 426.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.08165, allocations: 0 / 426.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.08171, allocations: 11.92 kB / 426.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.08183, allocations: 51.61 kB / 426.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.08197, allocations: 47.94 kB / 426.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.08213, allocations: 219.2 kB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.08231, allocations: 96.91 kB / 426.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.08238, allocations: 95.73 kB / 427 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.08251, allocations: 103.6 kB / 427.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.08254, allocations: 16 kB / 427.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.08258, allocations: 16 kB / 427.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.08261, allocations: 35.89 kB / 427.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.08268, allocations: 91.62 kB / 427.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.08283, allocations: 195.4 kB / 427.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.08284, allocations: 0 / 427.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08284, allocations: 3.984 kB / 427.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.08285, allocations: 0 / 427.4 MB, free: 11.38 MB / 298.7 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.000677/0.08353, allocations: 474.9 kB / 427.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.08358, allocations: 12.03 kB / 427.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.08363, allocations: 16.75 kB / 427.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.08376, allocations: 208.5 kB / 428.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.08385, allocations: 54.38 kB / 428.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.0839, allocations: 12.12 kB / 428.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.08458, allocations: 299.1 kB / 428.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.0846, allocations: 0 / 428.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.08463, allocations: 7.938 kB / 428.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.08464, allocations: 7.938 kB / 428.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.08526, allocations: 223.8 kB / 428.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.08679, allocations: 0.9534 MB / 429.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.08705, allocations: 272.6 kB / 429.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.08712, allocations: 44.83 kB / 430 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.08714, allocations: 0 / 430 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.08716, allocations: 30.56 kB / 430 MB, free: 8.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.32e-07/0.08716, allocations: 0 / 430 MB, free: 8.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.00141/0.08858, allocations: 0.6383 MB / 430.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.08861, allocations: 51.41 kB / 430.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.08873, allocations: 190.6 kB / 430.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.08874, allocations: 25.7 kB / 430.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.08879, allocations: 119.8 kB / 431 MB, free: 7.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.08882, allocations: 63.19 kB / 431.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.08887, allocations: 33.72 kB / 431.1 MB, free: 7.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.08892, allocations: 334.8 kB / 431.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.08899, allocations: 39.98 kB / 431.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.08906, allocations: 86 kB / 431.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.08977, allocations: 312.1 kB / 431.9 MB, free: 6.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.08978, allocations: 0 / 431.9 MB, free: 6.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000216/0.09, allocations: 193.3 kB / 432.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.09002, allocations: 8 kB / 432.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.09003, allocations: 3.984 kB / 432.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.09005, allocations: 7.938 kB / 432.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.09026, allocations: 47.97 kB / 432.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.09027, allocations: 4 kB / 432.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.09037, allocations: 11.94 kB / 432.1 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.09038, allocations: 7.938 kB / 432.1 MB, free: 6.277 MB / 298.7 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.0001956/0.09058, allocations: 152.9 kB / 432.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.09062, allocations: 15.81 kB / 432.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.09067, allocations: 25.52 kB / 432.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.09068, allocations: 0 / 432.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.09069, allocations: 4 kB / 432.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.0907, allocations: 3.938 kB / 432.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.09118, allocations: 495.2 kB / 432.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09119, allocations: 0 / 432.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.09138, allocations: 47.91 kB / 432.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.09139, allocations: 11.88 kB / 432.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.09141, allocations: 0 / 432.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.09142, allocations: 8.031 kB / 432.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.09142, allocations: 0 / 432.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.09275, allocations: 1.528 MB / 434.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.09279, allocations: 92.95 kB / 434.5 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.09281, allocations: 8 kB / 434.5 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.09291, allocations: 0 / 434.5 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.09294, allocations: 11.98 kB / 434.5 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.09295, allocations: 8 kB / 434.5 MB, free: 3.648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.09302, allocations: 140.3 kB / 434.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.09303, allocations: 0 / 434.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.09336, allocations: 52 kB / 434.7 MB, free: 3.461 MB / 298.7 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 6.621e-05/0.09343, allocations: 103.2 kB / 434.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.09363, allocations: 115.8 kB / 434.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.09364, allocations: 4.375 kB / 434.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.0937, allocations: 55.92 kB / 435 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.09401, allocations: 31.92 kB / 435 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.0947, allocations: 0.6933 MB / 435.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.09483, allocations: 0.717 MB / 436.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.09491, allocations: 21.53 kB / 436.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.09496, allocations: 15.44 kB / 436.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.09497, allocations: 0 / 436.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of Templates: time 0.003729/0.0987, allocations: 2.181 MB / 438.7 MB, free: 15.46 MB / 314.7 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)