Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") [/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.09155/0.09155, allocations: 21.61 MB / 36.56 MB, free: 1.055 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 183.1 kB / 42.82 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.2 MB / 272.1 MB, free: 1.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 90.55 kB / 328.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 395 MB, free: 48.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07434/0.07467, allocations: 55.83 MB / 450.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.3515, allocations: 77.47 MB / 0.5159 GB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.3517, allocations: 67.2 kB / 0.516 GB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007539/0.3525, allocations: 442.3 kB / 0.5164 GB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3525, allocations: 0 / 0.5164 GB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3525, allocations: 2.875 kB / 0.5164 GB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001914/0.3527, allocations: 329.8 kB / 0.5167 GB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3527, allocations: 7.562 kB / 0.5167 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.3528, allocations: 4.312 kB / 0.5167 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.637e-05/0.3528, allocations: 165.4 kB / 0.5169 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3528, allocations: 0 / 0.5169 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3529, allocations: 7.812 kB / 0.5169 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.353, allocations: 40.58 kB / 0.517 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.353, allocations: 0 / 0.517 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.353, allocations: 0 / 0.517 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.353, allocations: 3.953 kB / 0.517 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.353, allocations: 6.391 kB / 0.517 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.3532, allocations: 153.9 kB / 0.5171 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.3532, allocations: 32.58 kB / 0.5171 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.3532, allocations: 4.031 kB / 0.5171 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.3533, allocations: 34.5 kB / 0.5172 GB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3533, allocations: 0 / 0.5172 GB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.3534, allocations: 42.45 kB / 0.5172 GB, free: 10.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.3534, allocations: 51.41 kB / 0.5173 GB, free: 10.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.936e-05/0.3535, allocations: 102.1 kB / 0.5174 GB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.3535, allocations: 25.7 kB / 0.5174 GB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.3535, allocations: 87.64 kB / 0.5175 GB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3535, allocations: 6.344 kB / 0.5175 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.3535, allocations: 0 / 0.5175 GB, free: 10.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.3536, allocations: 313.5 kB / 0.5178 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.3536, allocations: 11.06 kB / 0.5178 GB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.3536, allocations: 6.609 kB / 0.5178 GB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.3537, allocations: 7.906 kB / 0.5178 GB, free: 10.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3537, allocations: 4.031 kB / 0.5178 GB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.206e-05/0.3538, allocations: 43.95 kB / 0.5178 GB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3538, allocations: 6.641 kB / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3538, allocations: 0 / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3538, allocations: 1.078 kB / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.3539, allocations: 7.625 kB / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3539, allocations: 0 / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.3539, allocations: 0 / 0.5179 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3539, allocations: 3.953 kB / 0.5179 GB, free: 10.21 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 (3): * Single equations (assignments): 3 * 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.0001105/0.354, allocations: 124.1 kB / 0.518 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.3541, allocations: 3.906 kB / 0.518 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.3541, allocations: 6.438 kB / 0.518 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3541, allocations: 0 / 0.518 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3541, allocations: 3.844 kB / 0.518 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3541, allocations: 2 kB / 0.518 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.635e-05/0.3542, allocations: 155 kB / 0.5181 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3542, allocations: 0 / 0.5181 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.3542, allocations: 11.28 kB / 0.5182 GB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3542, allocations: 4 kB / 0.5182 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3543, allocations: 288 / 0.5182 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3543, allocations: 0 / 0.5182 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3543, allocations: 3.781 kB / 0.5182 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3544, allocations: 76.83 kB / 0.5182 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.3544, allocations: 79.64 kB / 0.5183 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.3544, allocations: 0 / 0.5183 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.3545, allocations: 11.41 kB / 0.5183 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.3545, allocations: 0 / 0.5183 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3545, allocations: 0.7656 kB / 0.5183 GB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.668e-05/0.3545, allocations: 82.06 kB / 0.5184 GB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3545, allocations: 0 / 0.5184 GB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.3547, allocations: 3.719 kB / 0.5184 GB, free: 9.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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 7.018e-05/0.3548, allocations: 94.75 kB / 0.5185 GB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.3549, allocations: 21.77 kB / 0.5185 GB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3549, allocations: 3.938 kB / 0.5185 GB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.3549, allocations: 6.875 kB / 0.5185 GB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.495e-05/0.355, allocations: 9.656 kB / 0.5185 GB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.3552, allocations: 109.2 kB / 0.5186 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.3553, allocations: 0.6826 MB / 0.5193 GB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.3553, allocations: 4.062 kB / 0.5193 GB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.3554, allocations: 11.25 kB / 0.5193 GB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3554, allocations: 0 / 0.5193 GB, free: 8.723 MB / 362.7 MB Notification: Performance of Templates: time 0.001499/0.3569, allocations: 245.6 kB / 0.5196 GB, free: 8.699 MB / 362.7 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)