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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005234/0.005234, allocations: 97.27 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 195.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08978/0.08978, allocations: 22.33 MB / 312.9 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 434.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 54.95 MB / 489.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.003147/0.1084, allocations: 1.815 MB / 491.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1097, allocations: 0.6507 MB / 491.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1098, allocations: 0 / 491.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.142e-05/0.1099, allocations: 15.86 kB / 491.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1101, allocations: 51.55 kB / 491.9 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1104, allocations: 47.86 kB / 492 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1106, allocations: 195.8 kB / 492.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1108, allocations: 65.42 kB / 492.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.111, allocations: 95.64 kB / 492.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1112, allocations: 83.67 kB / 492.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1112, allocations: 12 kB / 492.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.1113, allocations: 12 kB / 492.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.1113, allocations: 31.89 kB / 492.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.1114, allocations: 75.66 kB / 492.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1116, allocations: 139.4 kB / 492.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1117, allocations: 0 / 492.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1117, allocations: 0 / 492.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1117, allocations: 0 / 492.7 MB, free: 4.086 MB / 366.1 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.0007977/0.1125, allocations: 446.9 kB / 493.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1125, allocations: 12.03 kB / 493.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.1126, allocations: 54.67 kB / 493.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.1127, allocations: 16.84 kB / 493.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1128, allocations: 184.1 kB / 493.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1129, allocations: 24.36 kB / 493.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.1129, allocations: 16.12 kB / 493.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1132, allocations: 153.4 kB / 493.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1133, allocations: 0 / 493.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1133, allocations: 4 kB / 493.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1133, allocations: 4 kB / 493.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1135, allocations: 131.6 kB / 493.7 MB, free: 2.961 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1147, allocations: 0.5716 MB / 494.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.1151, allocations: 190.7 kB / 494.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1153, allocations: 68.78 kB / 494.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1153, allocations: 4 kB / 494.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1153, allocations: 38.56 kB / 494.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1153, allocations: 0 / 494.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.004797/0.1202, allocations: 1.428 MB / 496 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1202, allocations: 55.41 kB / 496 MB, free: 440 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1203, allocations: 109.8 kB / 496.2 MB, free: 320 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1204, allocations: 29.7 kB / 496.2 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.1205, allocations: 116.9 kB / 496.3 MB, free: 160 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1206, allocations: 119 kB / 496.4 MB, free: 40 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1208, allocations: 53.7 kB / 496.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1209, allocations: 322.8 kB / 496.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1211, allocations: 91.81 kB / 496.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1214, allocations: 135.3 kB / 497 MB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005388/0.1268, allocations: 0.8299 MB / 497.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1268, allocations: 7.938 kB / 497.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001505/0.1283, allocations: 410.7 kB / 498.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1284, allocations: 8 kB / 498.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1284, allocations: 0 / 498.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.1295, allocations: 145.6 kB / 498.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.131, allocations: 159.8 kB / 498.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.1372, allocations: 4.702 MB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1375, allocations: 8.031 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.1376, allocations: 8 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = 0.0 start = pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = 0.0 start = Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004081/0.138, allocations: 149.7 kB / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.1381, allocations: 11.95 kB / 0.4916 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.1399, allocations: 473.5 kB / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1399, allocations: 7.938 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1399, allocations: 0 / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1399, allocations: 0 / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.1425, allocations: 0.8449 MB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.1425, allocations: 8 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.1438, allocations: 127.9 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.1462, allocations: 305.7 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.1462, allocations: 4 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/0.1528, allocations: 4.929 MB / 0.4981 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1528, allocations: 0 / 0.4981 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.1547, allocations: 0.6549 MB / 0.4988 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.1548, allocations: 92.95 kB / 0.4989 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1549, allocations: 8 kB / 0.4989 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.1551, allocations: 8 kB / 0.4989 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.1553, allocations: 39.88 kB / 0.4989 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.1554, allocations: 11.98 kB / 0.4989 GB, free: 500 kB / 382.1 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.1554, allocations: 87.28 kB / 0.499 GB, free: 412 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1554, allocations: 0 / 0.499 GB, free: 412 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007701/0.1562, allocations: 72 kB / 0.4991 GB, free: 340 kB / 382.1 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2069/0.3631, allocations: 1.181 MB / 0.5002 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3649, allocations: 0.6064 MB / 0.5008 GB, free: 20.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.365, allocations: 3.375 kB / 0.5008 GB, free: 20.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.3664, allocations: 0.505 MB / 0.5013 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3668, allocations: 30.52 kB / 0.5014 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.3706, allocations: 2.608 MB / 0.5039 GB, free: 18.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3708, allocations: 0.7311 MB / 0.5046 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.3709, allocations: 25.56 kB / 0.5047 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.371, allocations: 55.25 kB / 0.5047 GB, free: 18.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.371, allocations: 0 / 0.5047 GB, free: 18.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.4106, allocations: 5.587 MB / 0.5102 GB, free: 17.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 8.531 kB / 0.5102 GB, free: 17.7 MB / 382.1 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 & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Thermal.Air.MAvolume_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)