Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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: "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [/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.09925/0.09925, allocations: 21.62 MB / 36.56 MB, free: 1.062 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.001062/0.001062, allocations: 183.1 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.477/1.477, allocations: 223.2 MB / 272.1 MB, free: 1.414 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.0008494/0.0008493, allocations: 93.72 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 8 kB / 395.1 MB, free: 48.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 55.83 MB / 450.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4616, allocations: 79.07 MB / 0.5176 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4619, allocations: 66.05 kB / 0.5176 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00667/0.4686, allocations: 2.404 MB / 0.52 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4686, allocations: 0 / 0.52 GB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4686, allocations: 3.844 kB / 0.52 GB, free: 11.35 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005566/0.4692, allocations: 444.2 kB / 0.5204 GB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4692, allocations: 11.31 kB / 0.5204 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.4693, allocations: 37.33 kB / 0.5205 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.4694, allocations: 15.41 kB / 0.5205 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.4697, allocations: 235 kB / 0.5207 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4698, allocations: 3.5 kB / 0.5207 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.4698, allocations: 3.844 kB / 0.5207 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4699, allocations: 76.8 kB / 0.5208 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4699, allocations: 0 / 0.5208 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.47, allocations: 7.516 kB / 0.5208 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.47, allocations: 3.812 kB / 0.5208 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4701, allocations: 56.56 kB / 0.5208 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.4706, allocations: 363.1 kB / 0.5212 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.4707, allocations: 88.28 kB / 0.5213 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.4707, allocations: 0 / 0.5213 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.4708, allocations: 33.23 kB / 0.5213 GB, free: 10.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.4708, allocations: 0 / 0.5213 GB, free: 10.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000231/0.471, allocations: 123.2 kB / 0.5214 GB, free: 10.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.471, allocations: 51.41 kB / 0.5215 GB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4713, allocations: 181.2 kB / 0.5216 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4713, allocations: 29.61 kB / 0.5217 GB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.4714, allocations: 105.6 kB / 0.5218 GB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.4714, allocations: 21.91 kB / 0.5218 GB, free: 9.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4714, allocations: 0 / 0.5218 GB, free: 9.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.4715, allocations: 323.7 kB / 0.5221 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.4715, allocations: 28.78 kB / 0.5221 GB, free: 9.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.4716, allocations: 38.2 kB / 0.5222 GB, free: 9.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.4716, allocations: 40.03 kB / 0.5222 GB, free: 9.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4716, allocations: 0 / 0.5222 GB, free: 9.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001308/0.4718, allocations: 104.8 kB / 0.5223 GB, free: 9.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4718, allocations: 7.812 kB / 0.5223 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4718, allocations: 0 / 0.5223 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4718, allocations: 0 / 0.5223 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.472, allocations: 29.7 kB / 0.5223 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.472, allocations: 0 / 0.5223 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4722, allocations: 23.31 kB / 0.5224 GB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4722, allocations: 3.688 kB / 0.5224 GB, free: 9.605 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 (8): * Single equations (assignments): 8 * 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 5.912e-05/0.4722, allocations: 116.8 kB / 0.5225 GB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.4723, allocations: 14.95 kB / 0.5225 GB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.4723, allocations: 18.31 kB / 0.5225 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4723, allocations: 0 / 0.5225 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4723, allocations: 3.938 kB / 0.5225 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4723, allocations: 0 / 0.5225 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.4725, allocations: 201.7 kB / 0.5227 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4725, allocations: 3.141 kB / 0.5227 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.351e-05/0.4726, allocations: 14.66 kB / 0.5227 GB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4726, allocations: 0 / 0.5227 GB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4726, allocations: 10.78 kB / 0.5227 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4726, allocations: 0 / 0.5227 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4727, allocations: 0 / 0.5227 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.4729, allocations: 228.3 kB / 0.523 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.4729, allocations: 91.64 kB / 0.523 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4729, allocations: 3.141 kB / 0.523 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4731, allocations: 18.84 kB / 0.5231 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.4731, allocations: 9.781 kB / 0.5231 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.4731, allocations: 0 / 0.5231 GB, free: 9.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.4734, allocations: 150.1 kB / 0.5232 GB, free: 8.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4734, allocations: 0 / 0.5232 GB, free: 8.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.4736, allocations: 19.03 kB / 0.5232 GB, free: 8.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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 0.0003614/0.474, allocations: 0.7661 MB / 0.524 GB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.4741, allocations: 67.97 kB / 0.524 GB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4741, allocations: 0 / 0.524 GB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.4742, allocations: 37.44 kB / 0.5241 GB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4744, allocations: 11.17 kB / 0.5241 GB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.4759, allocations: 0.8607 MB / 0.5249 GB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4761, allocations: 0.7086 MB / 0.5256 GB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.4761, allocations: 25.62 kB / 0.5256 GB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.4762, allocations: 32.23 kB / 0.5257 GB, free: 7.148 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4762, allocations: 0 / 0.5257 GB, free: 7.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.4885, allocations: 2.198 MB / 0.5278 GB, free: 6.938 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.4887, allocations: 149.4 kB / 0.528 GB, free: 6.695 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.062, allocations: 3.844 kB / 0.528 GB, free: 6.695 MB / 362.7 MB (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)