Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [/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.09348/0.09348, allocations: 21.6 MB / 37.4 MB, free: 0.7305 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.001099/0.001099, allocations: 188.5 kB / 43.64 MB, free: 3.547 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.309/1.309, 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.0009271/0.0009271, allocations: 100.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009693/0.0009696, allocations: 53.83 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07084/0.07183, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0014/0.07326, allocations: 0.575 MB / 424.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.0734, allocations: 42.47 kB / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.07343, allocations: 4 kB / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.07344, allocations: 0 / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.28e-05/0.07348, allocations: 0 / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.07361, allocations: 4 kB / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.07365, allocations: 8 kB / 424.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.0737, allocations: 0 / 424.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.411e-05/0.07372, allocations: 7.984 kB / 424.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.07378, allocations: 0 / 424.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.07379, allocations: 3.938 kB / 424.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.0738, allocations: 4 kB / 424.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.07382, allocations: 3.938 kB / 425 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.07384, allocations: 11.92 kB / 425 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.521e-05/0.07388, allocations: 11.92 kB / 425 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.07389, allocations: 4 kB / 425 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0739, allocations: 0 / 425 MB, free: 13.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.07391, allocations: 0 / 425 MB, free: 13.83 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002727/0.07418, allocations: 323.5 kB / 425.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.07422, allocations: 8.031 kB / 425.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.07425, allocations: 4.844 kB / 425.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.817e-05/0.07431, allocations: 168.4 kB / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-06/0.07432, allocations: 384 / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.07434, allocations: 384 / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.449e-05/0.07441, allocations: 38.25 kB / 425.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.07442, allocations: 192 / 425.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.07443, allocations: 3.938 kB / 425.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.07445, allocations: 0 / 425.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.07447, allocations: 7.938 kB / 425.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.453e-05/0.07457, allocations: 149.7 kB / 425.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.07461, allocations: 26.61 kB / 425.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.07463, allocations: 12.92 kB / 425.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.07465, allocations: 0 / 425.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.07467, allocations: 34.55 kB / 425.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.07467, allocations: 0 / 425.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000237/0.07492, allocations: 65.56 kB / 425.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.07495, allocations: 55.59 kB / 425.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.075, allocations: 97.84 kB / 426 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.07502, allocations: 29.7 kB / 426 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.091e-05/0.07503, allocations: 80.14 kB / 426.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.07505, allocations: 11.81 kB / 426.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.07508, allocations: 9.719 kB / 426.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.07512, allocations: 318.8 kB / 426.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.07514, allocations: 4.109 kB / 426.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.07515, allocations: 8 kB / 426.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.07518, allocations: 20.8 kB / 426.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.07519, allocations: 0 / 426.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.427e-05/0.07525, allocations: 49.88 kB / 426.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.07527, allocations: 7.938 kB / 426.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.07527, allocations: 3.984 kB / 426.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.07529, allocations: 3.938 kB / 426.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.07536, allocations: 11.98 kB / 426.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.07537, allocations: 0 / 426.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.0754, allocations: 0 / 426.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.07541, allocations: 12 kB / 426.5 MB, free: 12.07 MB / 298.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.07545, allocations: 109.8 kB / 426.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.07546, allocations: 3.938 kB / 426.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.07555, allocations: 57.12 kB / 426.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.07556, allocations: 0 / 426.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.07556, allocations: 0 / 426.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.07557, allocations: 3.984 kB / 426.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.809e-05/0.07562, allocations: 149.7 kB / 426.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.07563, allocations: 4 kB / 426.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.07568, allocations: 11.98 kB / 426.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.07569, allocations: 3.938 kB / 426.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.0757, allocations: 0 / 426.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.0757, allocations: 0 / 426.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.07571, allocations: 0 / 426.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.07586, allocations: 0.6247 MB / 427.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.07589, allocations: 81.02 kB / 427.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-06/0.0759, allocations: 4 kB / 427.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.07592, allocations: 0 / 427.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.07594, allocations: 3.938 kB / 427.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.07595, allocations: 0 / 427.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.47e-05/0.07597, allocations: 83.27 kB / 427.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07597, allocations: 0 / 427.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.07624, allocations: 8 kB / 427.7 MB, free: 10.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 4.903e-05/0.07629, allocations: 95.34 kB / 427.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.851e-05/0.07635, allocations: 19.92 kB / 427.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.07636, allocations: 0 / 427.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.07638, allocations: 8 kB / 427.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.0765, allocations: 0 / 427.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.07669, allocations: 205.6 kB / 428 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.402e-05/0.07679, allocations: 0.6809 MB / 428.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.07682, allocations: 4 kB / 428.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.07684, allocations: 7.438 kB / 428.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.07684, allocations: 0 / 428.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of Templates: time 0.001454/0.0783, allocations: 253.4 kB / 428.9 MB, free: 9.449 MB / 298.7 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)