Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_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 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.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",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.1047/0.1047, allocations: 21.61 MB / 36.56 MB, free: 1.078 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.0009889/0.0009888, allocations: 189.5 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.341/1.341, allocations: 223.2 MB / 272.1 MB, free: 1.781 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.0008459/0.0008459, allocations: 107.5 kB / 328.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 55.83 MB / 452.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4458, allocations: 78.78 MB / 0.5193 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4461, allocations: 68.7 kB / 0.5193 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002898/0.449, allocations: 1.22 MB / 0.5205 GB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.449, allocations: 3.844 kB / 0.5205 GB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4491, allocations: 0 / 0.5205 GB, free: 12.71 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003587/0.4494, allocations: 368.9 kB / 0.5209 GB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4495, allocations: 7.688 kB / 0.5209 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.4495, allocations: 40.52 kB / 0.5209 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.4496, allocations: 11.75 kB / 0.5209 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4497, allocations: 174.8 kB / 0.5211 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4497, allocations: 7.281 kB / 0.5211 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4497, allocations: 7.062 kB / 0.5211 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4499, allocations: 86.42 kB / 0.5212 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4499, allocations: 0.75 kB / 0.5212 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.45, allocations: 7.391 kB / 0.5212 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.45, allocations: 3.844 kB / 0.5212 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.4501, allocations: 47.08 kB / 0.5212 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4506, allocations: 458.1 kB / 0.5217 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4508, allocations: 60.2 kB / 0.5217 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4508, allocations: 7.609 kB / 0.5218 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.4508, allocations: 34.41 kB / 0.5218 GB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4508, allocations: 3.938 kB / 0.5218 GB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001944/0.451, allocations: 73.84 kB / 0.5219 GB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.4511, allocations: 51.41 kB / 0.5219 GB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.4512, allocations: 99.61 kB / 0.522 GB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.4512, allocations: 33.14 kB / 0.522 GB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.4513, allocations: 110.1 kB / 0.5221 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.4513, allocations: 22.83 kB / 0.5222 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.4513, allocations: 3.562 kB / 0.5222 GB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.4514, allocations: 314.8 kB / 0.5225 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.4514, allocations: 14.48 kB / 0.5225 GB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.4514, allocations: 36.59 kB / 0.5225 GB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.4515, allocations: 17.2 kB / 0.5225 GB, free: 10.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4515, allocations: 7.844 kB / 0.5225 GB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001138/0.4516, allocations: 77.72 kB / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4516, allocations: 6.375 kB / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4516, allocations: 0 / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4517, allocations: 3.844 kB / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.4517, allocations: 18.27 kB / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4518, allocations: 3.844 kB / 0.5226 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.4518, allocations: 11.34 kB / 0.5227 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4518, allocations: 3.922 kB / 0.5227 GB, free: 10.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.383e-05/0.4519, allocations: 121.5 kB / 0.5228 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.4519, allocations: 0 / 0.5228 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.4521, allocations: 90.5 kB / 0.5229 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4521, allocations: 5.938 kB / 0.5229 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4521, allocations: 0 / 0.5229 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4521, allocations: 0 / 0.5229 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.4522, allocations: 188 kB / 0.523 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4523, allocations: 0 / 0.523 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.4523, allocations: 14.59 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4523, allocations: 7.875 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4523, allocations: 4.578 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4524, allocations: 0 / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4524, allocations: 0 / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.4525, allocations: 163 kB / 0.5232 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.4525, allocations: 81.02 kB / 0.5233 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.4525, allocations: 6.797 kB / 0.5233 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.4526, allocations: 3.938 kB / 0.5233 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.4526, allocations: 11.66 kB / 0.5233 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4526, allocations: 5.844 kB / 0.5233 GB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.4527, allocations: 85.83 kB / 0.5234 GB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.323e-06/0.4527, allocations: 0 / 0.5234 GB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.4529, allocations: 23.09 kB / 0.5234 GB, free: 10.18 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 (7): * Single equations (assignments): 7 * 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.000258/0.4532, allocations: 0.6948 MB / 0.5241 GB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.4533, allocations: 47.47 kB / 0.5242 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4533, allocations: 0 / 0.5242 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.4533, allocations: 22.5 kB / 0.5242 GB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.4535, allocations: 4.453 kB / 0.5242 GB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.454, allocations: 232.5 kB / 0.5244 GB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4541, allocations: 0.6931 MB / 0.5251 GB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.4542, allocations: 11.2 kB / 0.5251 GB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.4542, allocations: 21.72 kB / 0.5251 GB, free: 8.602 MB / 362.7 MB Notification: Performance of SimCode: time 4.058e-06/0.4542, allocations: 0 / 0.5251 GB, free: 8.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.4669, allocations: 1.241 MB / 0.5263 GB, free: 8.438 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.4672, allocations: 152.4 kB / 0.5265 GB, free: 8.195 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/1.892, allocations: 0 / 0.5265 GB, free: 8.195 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)