Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.MAvolume.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.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",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.1094/0.1094, allocations: 21.61 MB / 36.56 MB, free: 1.074 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.001113/0.001113, allocations: 186.4 kB / 42.83 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.405/1.405, 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.0008295/0.0008295, allocations: 102.6 kB / 328.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 8 kB / 395.1 MB, free: 48.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.0963, allocations: 55.82 MB / 450.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4187, allocations: 80.97 MB / 0.5194 GB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4189, allocations: 72.92 kB / 0.5195 GB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005979/0.4249, allocations: 2.562 MB / 0.522 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4249, allocations: 0 / 0.522 GB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.425, allocations: 7.812 kB / 0.522 GB, free: 11.05 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005348/0.4255, allocations: 432.9 kB / 0.5224 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4256, allocations: 15.5 kB / 0.5225 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.4256, allocations: 50.42 kB / 0.5225 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.4257, allocations: 15.62 kB / 0.5225 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4258, allocations: 185 kB / 0.5227 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4258, allocations: 11.12 kB / 0.5227 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.4259, allocations: 17.41 kB / 0.5227 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4261, allocations: 152.1 kB / 0.5229 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4261, allocations: 0 / 0.5229 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4261, allocations: 18.16 kB / 0.5229 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4262, allocations: 3.844 kB / 0.5229 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.4263, allocations: 122 kB / 0.523 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.4272, allocations: 0.4974 MB / 0.5235 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.4276, allocations: 182.4 kB / 0.5237 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4276, allocations: 14.97 kB / 0.5237 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4276, allocations: 39 kB / 0.5237 GB, free: 9.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.4276, allocations: 0 / 0.5237 GB, free: 9.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.004326/0.4319, allocations: 1.435 MB / 0.5251 GB, free: 9.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.432, allocations: 59.22 kB / 0.5252 GB, free: 9.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.4321, allocations: 106.3 kB / 0.5253 GB, free: 9.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4321, allocations: 28.83 kB / 0.5253 GB, free: 9.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.4322, allocations: 123.1 kB / 0.5254 GB, free: 9.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.4322, allocations: 111.4 kB / 0.5255 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.4323, allocations: 3.125 kB / 0.5255 GB, free: 9.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.4323, allocations: 328.8 kB / 0.5258 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4324, allocations: 84.66 kB / 0.5259 GB, free: 8.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.4326, allocations: 121 kB / 0.526 GB, free: 8.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4328, allocations: 105.8 kB / 0.5261 GB, free: 8.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4328, allocations: 0 / 0.5261 GB, free: 8.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001128/0.4339, allocations: 414.7 kB / 0.5265 GB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4339, allocations: 3.688 kB / 0.5265 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4339, allocations: 3.844 kB / 0.5265 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.435, allocations: 160.9 kB / 0.5267 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4361, allocations: 161.4 kB / 0.5268 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.4398, allocations: 4.405 MB / 0.5311 GB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.4401, allocations: 19.84 kB / 0.5312 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.4401, allocations: 11.31 kB / 0.5312 GB, free: 4.715 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real p:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.4404, allocations: 148.9 kB / 0.5313 GB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.4405, allocations: 19.16 kB / 0.5313 GB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.4419, allocations: 470.6 kB / 0.5318 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4419, allocations: 3.844 kB / 0.5318 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.442, allocations: 11.95 kB / 0.5318 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.442, allocations: 0 / 0.5318 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.444, allocations: 0.8524 MB / 0.5326 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.444, allocations: 0 / 0.5326 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.445, allocations: 135.5 kB / 0.5328 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.4471, allocations: 317.4 kB / 0.5331 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4471, allocations: 11.19 kB / 0.5331 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.4519, allocations: 4.636 MB / 0.5376 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4519, allocations: 3.844 kB / 0.5376 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4533, allocations: 0.6775 MB / 0.5383 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4534, allocations: 84.83 kB / 0.5384 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4534, allocations: 11.56 kB / 0.5384 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4537, allocations: 15.75 kB / 0.5384 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4537, allocations: 46.84 kB / 0.5384 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.4537, allocations: 7.672 kB / 0.5384 GB, free: 15.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.4538, allocations: 86.41 kB / 0.5385 GB, free: 15.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4538, allocations: 0 / 0.5385 GB, free: 15.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.4543, allocations: 76.67 kB / 0.5386 GB, free: 15.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (Ma,p,T) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.456, allocations: 1.369 MB / 0.5399 GB, free: 14.09 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.001537/0.4576, allocations: 0.5754 MB / 0.5405 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4576, allocations: 0 / 0.5405 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.4588, allocations: 0.4913 MB / 0.541 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4591, allocations: 26.39 kB / 0.541 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.4617, allocations: 1.982 MB / 0.5429 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4621, allocations: 0.7465 MB / 0.5437 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.4622, allocations: 21.62 kB / 0.5437 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.4623, allocations: 57.86 kB / 0.5437 GB, free: 11.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4623, allocations: 0 / 0.5437 GB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.4804, allocations: 5.089 MB / 0.5487 GB, free: 8.895 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.4806, allocations: 186.6 kB / 0.5489 GB, free: 8.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.291, allocations: 0 / 0.5489 GB, free: 8.66 MB / 378.7 MB (rm -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Air.MAvolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Air_MAvolume_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)