Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_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.119/0.119, allocations: 21.61 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.0009802/0.0009802, allocations: 186.1 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.346/1.346, allocations: 223.2 MB / 272.1 MB, free: 1.762 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.0008394/0.0008393, allocations: 92.31 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8 kB / 397.1 MB, free: 46.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08885, allocations: 55.81 MB / 452.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4247, allocations: 82.7 MB / 0.5231 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4249, allocations: 67.12 kB / 0.5231 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.4417, allocations: 7.287 MB / 0.5303 GB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4417, allocations: 4 kB / 0.5303 GB, free: 10.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4417, allocations: 11.59 kB / 0.5303 GB, free: 10.85 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001341/0.4431, allocations: 0.6961 MB / 0.5309 GB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4431, allocations: 12.73 kB / 0.531 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.4432, allocations: 102.3 kB / 0.5311 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.4433, allocations: 50.34 kB / 0.5311 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.4435, allocations: 218.5 kB / 0.5313 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.4436, allocations: 44.59 kB / 0.5314 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.4436, allocations: 55.38 kB / 0.5314 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.4443, allocations: 492.4 kB / 0.5319 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4443, allocations: 0 / 0.5319 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.4444, allocations: 26.45 kB / 0.5319 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4444, allocations: 15.59 kB / 0.5319 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.4451, allocations: 490 kB / 0.5324 GB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.4471, allocations: 1.401 MB / 0.5338 GB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.4478, allocations: 0.5056 MB / 0.5342 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.4479, allocations: 12.17 kB / 0.5343 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.4479, allocations: 42.91 kB / 0.5343 GB, free: 8.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 1.773e-06/0.4479, allocations: 0 / 0.5343 GB, free: 8.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.005716/0.4536, allocations: 2.426 MB / 0.5367 GB, free: 8.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.4537, allocations: 63.72 kB / 0.5367 GB, free: 7.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4538, allocations: 162.4 kB / 0.5369 GB, free: 7.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4538, allocations: 40.3 kB / 0.5369 GB, free: 7.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.4539, allocations: 185.8 kB / 0.5371 GB, free: 7.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.454, allocations: 258.8 kB / 0.5373 GB, free: 7.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.4541, allocations: 13.97 kB / 0.5374 GB, free: 7.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.4541, allocations: 350 kB / 0.5377 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.4544, allocations: 210.3 kB / 0.5379 GB, free: 7.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.4548, allocations: 263.1 kB / 0.5381 GB, free: 7.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4551, allocations: 259.8 kB / 0.5384 GB, free: 7.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4551, allocations: 3.953 kB / 0.5384 GB, free: 7.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001623/0.4568, allocations: 0.7841 MB / 0.5392 GB, free: 6.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4568, allocations: 5.375 kB / 0.5392 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4568, allocations: 4 kB / 0.5392 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.4579, allocations: 197.1 kB / 0.5394 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.4619, allocations: 0.5096 MB / 0.5399 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/0.47, allocations: 10.15 MB / 0.5498 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.4707, allocations: 33.33 kB / 0.5498 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.4709, allocations: 22.19 kB / 0.5498 GB, free: 13 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.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 = V.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): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005869/0.4715, allocations: 206.6 kB / 0.55 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4716, allocations: 38.8 kB / 0.5501 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.4739, allocations: 0.9495 MB / 0.551 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4739, allocations: 7.688 kB / 0.551 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4739, allocations: 7.781 kB / 0.551 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4739, allocations: 11.92 kB / 0.551 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.4773, allocations: 1.881 MB / 0.5529 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4773, allocations: 7.812 kB / 0.5529 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/0.4808, allocations: 475.6 kB / 0.5533 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.483, allocations: 357.4 kB / 0.5537 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.4831, allocations: 26.17 kB / 0.5537 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009754/0.4929, allocations: 10.31 MB / 0.5637 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4929, allocations: 7.75 kB / 0.5638 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.4957, allocations: 1.732 MB / 0.5654 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.4959, allocations: 119.9 kB / 0.5656 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.496, allocations: 22.69 kB / 0.5656 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.4965, allocations: 38.39 kB / 0.5656 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.4967, allocations: 89.94 kB / 0.5657 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.4967, allocations: 34.7 kB / 0.5657 GB, free: 0.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.4969, allocations: 137.1 kB / 0.5659 GB, free: 420 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4969, allocations: 0 / 0.5659 GB, free: 420 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008021/0.4977, allocations: 181.1 kB / 0.566 GB, free: 348 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003756/0.5014, allocations: 4.095 MB / 0.57 GB, free: 12.47 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.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004381/0.5058, allocations: 1.223 MB / 0.5712 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5059, allocations: 4 kB / 0.5712 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.5094, allocations: 0.965 MB / 0.5722 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.51, allocations: 124.2 kB / 0.5723 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.5158, allocations: 3.313 MB / 0.5755 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.5163, allocations: 0.8525 MB / 0.5764 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004766/0.5168, allocations: 64.23 kB / 0.5764 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.517, allocations: 148.1 kB / 0.5766 GB, free: 6.621 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.517, allocations: 0 / 0.5766 GB, free: 6.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.5446, allocations: 11.83 MB / 0.5881 GB, free: 10.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.5448, allocations: 190.4 kB / 0.5883 GB, free: 10.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.874, allocations: 4 kB / 0.5883 GB, free: 10.73 MB / 410.7 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_001_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)