Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",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.001393/0.001393, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001427/0.001427, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.91 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5056, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1602/0.6659, allocations: 176.8 MB / 1.122 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.6795, allocations: 10.84 MB / 1.132 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.6817, allocations: 79.56 kB / 1.133 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.6862, allocations: 1.874 MB / 1.134 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.6899, allocations: 1.488 MB / 1.136 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.6917, allocations: 0.7084 MB / 1.137 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.6953, allocations: 3.161 MB / 1.14 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.6968, allocations: 1.309 MB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.6982, allocations: 1.12 MB / 1.142 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.7001, allocations: 1.155 MB / 1.143 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.7004, allocations: 128 kB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.7019, allocations: 0.9549 MB / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.7024, allocations: 482 kB / 1.145 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.7035, allocations: 1.099 MB / 1.146 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.7065, allocations: 3.274 MB / 1.149 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7065, allocations: 0 / 1.149 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7065, allocations: 0 / 1.149 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.996e-05/0.7065, allocations: 0 / 1.149 GB, free: 4.77 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003801/0.7103, allocations: 2.743 MB / 1.152 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7104, allocations: 12.02 kB / 1.152 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.7105, allocations: 130.6 kB / 1.152 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.7119, allocations: 384.5 kB / 1.152 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.7145, allocations: 1.884 MB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.7145, allocations: 58 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.7146, allocations: 72 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.716, allocations: 0.9368 MB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.716, allocations: 0 / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.7161, allocations: 32 kB / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.7161, allocations: 28.94 kB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.7171, allocations: 0.7024 MB / 1.156 GB, free: 13.61 MB / 0.92 GB 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.00495/0.7221, allocations: 4.499 MB / 1.16 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.7225, allocations: 306.7 kB / 1.16 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.7227, allocations: 182.2 kB / 1.161 GB, free: 8.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.7229, allocations: 101.1 kB / 1.161 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.7229, allocations: 34.5 kB / 1.161 GB, free: 8.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.723, allocations: 4 kB / 1.161 GB, free: 8.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002646/0.7256, allocations: 1.7 MB / 1.162 GB, free: 6.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7256, allocations: 55.41 kB / 1.162 GB, free: 6.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.729, allocations: 2.973 MB / 1.165 GB, free: 3.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.729, allocations: 33.7 kB / 1.165 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008043/0.7298, allocations: 1.058 MB / 1.166 GB, free: 2.309 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.7299, allocations: 114.3 kB / 1.167 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.7301, allocations: 110.1 kB / 1.167 GB, free: 2.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.7302, allocations: 333.9 kB / 1.167 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.7304, allocations: 161 kB / 1.167 GB, free: 1.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.7308, allocations: 368.2 kB / 1.167 GB, free: 1.145 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.7327, allocations: 1.095 MB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7327, allocations: 4 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001023/0.7338, allocations: 0.7802 MB / 1.169 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7338, allocations: 9.562 kB / 1.169 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7338, allocations: 8 kB / 1.169 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.734, allocations: 73.41 kB / 1.169 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.7343, allocations: 99.78 kB / 1.169 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7357, allocations: 1.858 MB / 1.171 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.7365, allocations: 52.38 kB / 1.171 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.7365, allocations: 24 kB / 1.171 GB, free: 12.89 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008043/0.7373, allocations: 0.7901 MB / 1.172 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.7376, allocations: 233 kB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.7379, allocations: 251.7 kB / 1.173 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7379, allocations: 11.88 kB / 1.173 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7379, allocations: 7.938 kB / 1.173 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005975/0.7385, allocations: 0.597 MB / 1.173 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.741, allocations: 2.053 MB / 1.175 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.741, allocations: 4 kB / 1.175 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.7413, allocations: 68.31 kB / 1.175 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.7415, allocations: 64.88 kB / 1.175 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.7415, allocations: 16 kB / 1.175 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.7428, allocations: 1.849 MB / 1.177 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7428, allocations: 4.031 kB / 1.177 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009837/0.7438, allocations: 0.9297 MB / 1.178 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.7444, allocations: 406.1 kB / 1.178 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.7446, allocations: 12 kB / 1.178 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.7452, allocations: 35.94 kB / 1.178 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.7452, allocations: 31.84 kB / 1.179 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.7453, allocations: 12 kB / 1.179 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002509/0.7478, allocations: 2.103 MB / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7478, allocations: 0 / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008606/0.7487, allocations: 304 kB / 1.181 GB, free: 2.719 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.7501, allocations: 1.547 MB / 1.182 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.751, allocations: 0.5512 MB / 1.183 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.751, allocations: 0 / 1.183 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.7513, allocations: 295.9 kB / 1.183 GB, free: 252 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.7545, allocations: 0.9726 MB / 1.184 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/0.783, allocations: 20.52 MB / 1.204 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.7844, allocations: 1.95 MB / 1.206 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001047/0.7855, allocations: 392.8 kB / 1.206 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008365/0.7863, allocations: 0.8156 MB / 1.207 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.7863, allocations: 0 / 1.207 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8236/1.61, allocations: 51.62 MB / 1.258 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.61, allocations: 293.7 kB / 1.258 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/4.272, allocations: 4 kB / 1.258 GB, free: 275.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)