Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.62 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.0009551/0.0009551, allocations: 186.4 kB / 42.83 MB, free: 3.781 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.342/1.342, allocations: 223.2 MB / 272.1 MB, free: 1.406 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.000935/0.0009348, allocations: 98.75 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 8 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.0983, allocations: 55.83 MB / 452.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4292, allocations: 82.74 MB / 0.5231 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4294, allocations: 74.97 kB / 0.5232 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.4472, allocations: 8.02 MB / 0.531 GB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4473, allocations: 0.6562 kB / 0.531 GB, free: 10.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4473, allocations: 11.56 kB / 0.531 GB, free: 10.6 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001517/0.4488, allocations: 0.7334 MB / 0.5318 GB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4489, allocations: 11.69 kB / 0.5318 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.449, allocations: 108 kB / 0.5319 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4492, allocations: 54.56 kB / 0.5319 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4494, allocations: 229.5 kB / 0.5321 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.4494, allocations: 55.62 kB / 0.5322 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.4495, allocations: 66.72 kB / 0.5323 GB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.4505, allocations: 0.5415 MB / 0.5328 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.4505, allocations: 0 / 0.5328 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.4505, allocations: 35 kB / 0.5328 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4506, allocations: 14.72 kB / 0.5328 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.4513, allocations: 499.6 kB / 0.5333 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.4536, allocations: 1.53 MB / 0.5348 GB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.4546, allocations: 0.5859 MB / 0.5354 GB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.4547, allocations: 8.25 kB / 0.5354 GB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4547, allocations: 38.12 kB / 0.5354 GB, free: 8.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.4547, allocations: 0 / 0.5354 GB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.01194/0.4666, allocations: 4.018 MB / 0.5393 GB, free: 7.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4667, allocations: 60.03 kB / 0.5394 GB, free: 6.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4668, allocations: 131.9 kB / 0.5395 GB, free: 6.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.4669, allocations: 40.89 kB / 0.5396 GB, free: 6.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.467, allocations: 222.7 kB / 0.5398 GB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4671, allocations: 295.6 kB / 0.5401 GB, free: 6.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.4672, allocations: 14.72 kB / 0.5401 GB, free: 6.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.4673, allocations: 349.9 kB / 0.5404 GB, free: 6.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.4677, allocations: 262.5 kB / 0.5407 GB, free: 6.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.4681, allocations: 330.6 kB / 0.541 GB, free: 6.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.4686, allocations: 329.4 kB / 0.5413 GB, free: 6.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4686, allocations: 0 / 0.5413 GB, free: 6.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002796/0.4714, allocations: 1.09 MB / 0.5424 GB, free: 5.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4714, allocations: 7.953 kB / 0.5424 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4714, allocations: 3.844 kB / 0.5424 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.4737, allocations: 439.2 kB / 0.5428 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.4769, allocations: 424.4 kB / 0.5432 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.4889, allocations: 13.38 MB / 0.5563 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/0.4897, allocations: 53.53 kB / 0.5563 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.4898, allocations: 22.19 kB / 0.5563 GB, free: 9.078 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V2.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V1.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V1.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: 2 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.4903, allocations: 260.4 kB / 0.5566 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4904, allocations: 31.16 kB / 0.5566 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.4939, allocations: 1.29 MB / 0.5579 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.494, allocations: 11.64 kB / 0.5579 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.494, allocations: 3.812 kB / 0.5579 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.494, allocations: 3.984 kB / 0.5579 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.4982, allocations: 2.013 MB / 0.5599 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4982, allocations: 7.906 kB / 0.5599 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.5012, allocations: 383.6 kB / 0.5602 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004677/0.5059, allocations: 0.7246 MB / 0.5609 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.506, allocations: 26.22 kB / 0.561 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.5201, allocations: 13.9 MB / 0.5745 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5201, allocations: 0 / 0.5745 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/0.5244, allocations: 1.77 MB / 0.5763 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5245, allocations: 104.3 kB / 0.5764 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.5246, allocations: 18.94 kB / 0.5764 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.5252, allocations: 46.62 kB / 0.5764 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.5254, allocations: 87.64 kB / 0.5765 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.5255, allocations: 27.3 kB / 0.5765 GB, free: 7.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.876e-05/0.5256, allocations: 106.4 kB / 0.5766 GB, free: 7.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5256, allocations: 4 kB / 0.5766 GB, free: 7.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001029/0.5266, allocations: 224.8 kB / 0.5769 GB, free: 7.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 3 {1 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004446/0.5311, allocations: 2.527 MB / 0.5793 GB, free: 4.973 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V2.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V1.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004663/0.5358, allocations: 1.755 MB / 0.581 GB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5358, allocations: 0 / 0.581 GB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/0.5397, allocations: 1.47 MB / 0.5825 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.5402, allocations: 75.84 kB / 0.5825 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/0.5475, allocations: 3.969 MB / 0.5864 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.548, allocations: 0.8884 MB / 0.5873 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.5484, allocations: 60.14 kB / 0.5873 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5487, allocations: 191.4 kB / 0.5875 GB, free: 12.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.5487, allocations: 3.938 kB / 0.5875 GB, free: 12.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.5783, allocations: 14.14 MB / 0.6013 GB, free: 14.56 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.5785, allocations: 185.4 kB / 0.6015 GB, free: 14.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.832, allocations: 0 / 0.6015 GB, free: 14.32 MB / 426.7 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)