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 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_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.09264/0.09264, allocations: 21.61 MB / 36.56 MB, free: 1.051 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.0009266/0.0009266, allocations: 183.4 kB / 42.83 MB, free: 3.785 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.207/1.207, allocations: 223.2 MB / 272.1 MB, free: 1.777 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.0007767/0.0007769, allocations: 106.6 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 397 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07302/0.07338, allocations: 55.81 MB / 452.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.322, allocations: 77.5 MB / 0.5179 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3222, allocations: 68.41 kB / 0.518 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007707/0.323, allocations: 476.8 kB / 0.5185 GB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.323, allocations: 0 / 0.5185 GB, free: 12.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.323, allocations: 0 / 0.5185 GB, free: 12.64 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.0001778/0.3232, allocations: 330.1 kB / 0.5188 GB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3233, allocations: 7.75 kB / 0.5188 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.3233, allocations: 0 / 0.5188 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.609e-05/0.3233, allocations: 165.3 kB / 0.5189 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3234, allocations: 0 / 0.5189 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3234, allocations: 3.125 kB / 0.5189 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.617e-05/0.3234, allocations: 41.17 kB / 0.519 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.3235, allocations: 0 / 0.519 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3235, allocations: 0 / 0.519 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3235, allocations: 3.953 kB / 0.519 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.3235, allocations: 6.531 kB / 0.519 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.56e-05/0.3236, allocations: 155.8 kB / 0.5191 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.3237, allocations: 21.98 kB / 0.5192 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3237, allocations: 7.719 kB / 0.5192 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.3237, allocations: 30.56 kB / 0.5192 GB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3237, allocations: 0 / 0.5192 GB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002486/0.3239, allocations: 65.61 kB / 0.5193 GB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.324, allocations: 59.02 kB / 0.5193 GB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.523e-05/0.324, allocations: 92.44 kB / 0.5194 GB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.324, allocations: 25.7 kB / 0.5194 GB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.324, allocations: 84.45 kB / 0.5195 GB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.3241, allocations: 11.62 kB / 0.5195 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.3241, allocations: 3.938 kB / 0.5195 GB, free: 11.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.3241, allocations: 317.5 kB / 0.5198 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3241, allocations: 3.906 kB / 0.5198 GB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.3241, allocations: 0.8906 kB / 0.5198 GB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.3242, allocations: 10.38 kB / 0.5198 GB, free: 11.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3242, allocations: 3.938 kB / 0.5198 GB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.356e-05/0.3242, allocations: 47.81 kB / 0.5199 GB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3243, allocations: 7.969 kB / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3243, allocations: 0 / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3243, allocations: 4.672 kB / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.3244, allocations: 6.594 kB / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3244, allocations: 0 / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.3244, allocations: 10.33 kB / 0.5199 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3244, allocations: 0 / 0.5199 GB, free: 11.11 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3244, allocations: 113.5 kB / 0.52 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.3245, allocations: 3.969 kB / 0.52 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.3246, allocations: 54.22 kB / 0.5201 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3246, allocations: 0 / 0.5201 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3246, allocations: 3.844 kB / 0.5201 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3246, allocations: 1.219 kB / 0.5201 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.762e-05/0.3246, allocations: 156.2 kB / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3246, allocations: 0 / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.3247, allocations: 6.656 kB / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3247, allocations: 3.812 kB / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3247, allocations: 0 / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3247, allocations: 1.094 kB / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3247, allocations: 4 kB / 0.5202 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.003e-05/0.3248, allocations: 74.55 kB / 0.5203 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.3248, allocations: 79.73 kB / 0.5204 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.3248, allocations: 3.844 kB / 0.5204 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.3249, allocations: 0 / 0.5204 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.3249, allocations: 3 kB / 0.5204 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3249, allocations: 1.562 kB / 0.5204 GB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.484e-05/0.3249, allocations: 85.95 kB / 0.5205 GB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3249, allocations: 0 / 0.5205 GB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.3251, allocations: 7.812 kB / 0.5205 GB, free: 10.51 MB / 362.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 (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 6.559e-05/0.3252, allocations: 94.31 kB / 0.5206 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.945e-05/0.3252, allocations: 22 kB / 0.5206 GB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.3252, allocations: 0 / 0.5206 GB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.3253, allocations: 3.844 kB / 0.5206 GB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.781e-05/0.3253, allocations: 7.859 kB / 0.5206 GB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000138/0.3255, allocations: 91.03 kB / 0.5207 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.3256, allocations: 0.6787 MB / 0.5214 GB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.3256, allocations: 2.297 kB / 0.5214 GB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.3256, allocations: 7.438 kB / 0.5214 GB, free: 9.613 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3256, allocations: 3.938 kB / 0.5214 GB, free: 9.609 MB / 362.7 MB Notification: Performance of Templates: time 0.001442/0.3271, allocations: 235.2 kB / 0.5216 GB, free: 9.582 MB / 362.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)