Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009836/0.0009837, allocations: 174.5 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205 MB / 0.576 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007224/0.0007226, allocations: 86.36 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8.375 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5307/0.6756, allocations: 176.7 MB / 1.069 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.6907, allocations: 10.96 MB / 1.079 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.6939, allocations: 76.22 kB / 1.08 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006252/0.7002, allocations: 1.84 MB / 1.081 GB, free: 1.535 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.7057, allocations: 1.484 MB / 1.083 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.7082, allocations: 0.731 MB / 1.083 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.7134, allocations: 3.762 MB / 1.087 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.7153, allocations: 1.134 MB / 1.088 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.7173, allocations: 0.988 MB / 1.089 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.7202, allocations: 1.078 MB / 1.09 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006045/0.7209, allocations: 70.59 kB / 1.09 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.7239, allocations: 0.9956 MB / 1.091 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.7244, allocations: 417.8 kB / 1.092 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.7261, allocations: 1.02 MB / 1.093 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.7295, allocations: 3.064 MB / 1.096 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7296, allocations: 4 kB / 1.096 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7296, allocations: 2.906 kB / 1.096 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.768e-05/0.7296, allocations: 0 / 1.096 GB, free: 0.6484 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003883/0.7335, allocations: 2.315 MB / 1.098 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.7336, allocations: 9.75 kB / 1.098 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.7338, allocations: 126.5 kB / 1.098 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.7354, allocations: 374.2 kB / 1.098 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.738, allocations: 1.876 MB / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.7381, allocations: 60 kB / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.7382, allocations: 78.81 kB / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.7395, allocations: 0.9509 MB / 1.101 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.7395, allocations: 0 / 1.101 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.7396, allocations: 30.5 kB / 1.101 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.7396, allocations: 28.5 kB / 1.101 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009587/0.7406, allocations: 0.6986 MB / 1.102 GB, free: 14.37 MB / 0.7136 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.005428/0.746, allocations: 4.513 MB / 1.106 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.7464, allocations: 305.3 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.7466, allocations: 182.5 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.7468, allocations: 102.2 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7469, allocations: 34.38 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.475e-06/0.7469, allocations: 1.781 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.002929/0.7498, allocations: 1.697 MB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.7499, allocations: 54.81 kB / 1.109 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.7533, allocations: 2.973 MB / 1.112 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.7533, allocations: 36.52 kB / 1.112 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/0.7541, allocations: 1.059 MB / 1.113 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7542, allocations: 109.4 kB / 1.113 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.7543, allocations: 49.25 kB / 1.113 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7544, allocations: 325 kB / 1.113 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.7546, allocations: 160.5 kB / 1.113 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.755, allocations: 372.4 kB / 1.114 GB, free: 10.21 MB / 0.7136 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.001767/0.7568, allocations: 1.046 MB / 1.115 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.7568, allocations: 2.969 kB / 1.115 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001331/0.7581, allocations: 0.7913 MB / 1.116 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7581, allocations: 10.97 kB / 1.116 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7582, allocations: 6.844 kB / 1.116 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.7584, allocations: 69.58 kB / 1.116 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.7587, allocations: 104.1 kB / 1.116 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.7601, allocations: 1.679 MB / 1.117 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.7612, allocations: 37.92 kB / 1.117 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.7613, allocations: 24.17 kB / 1.117 GB, free: 8.34 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.001137/0.7624, allocations: 0.7961 MB / 1.118 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.7628, allocations: 240.1 kB / 1.118 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.7631, allocations: 255.5 kB / 1.119 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7631, allocations: 1.875 kB / 1.119 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.7631, allocations: 0 / 1.119 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006282/0.7638, allocations: 0.5944 MB / 1.119 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.767, allocations: 2.059 MB / 1.121 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.7671, allocations: 2.906 kB / 1.121 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.7674, allocations: 72.95 kB / 1.121 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.7676, allocations: 55.34 kB / 1.121 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7676, allocations: 16.52 kB / 1.121 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.7691, allocations: 1.678 MB / 1.123 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7691, allocations: 7.219 kB / 1.123 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.7706, allocations: 0.9452 MB / 1.124 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/0.7715, allocations: 421.2 kB / 1.124 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.7718, allocations: 16.62 kB / 1.124 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.7724, allocations: 28.97 kB / 1.124 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.7724, allocations: 32.38 kB / 1.124 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.7725, allocations: 15 kB / 1.124 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002803/0.7753, allocations: 2.102 MB / 1.127 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7753, allocations: 0 / 1.127 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001192/0.7765, allocations: 304.3 kB / 1.127 GB, free: 5.098 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * 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.001645/0.7781, allocations: 1.555 MB / 1.128 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.779, allocations: 0.5181 MB / 1.129 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.779, allocations: 1.75 kB / 1.129 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.7793, allocations: 300.2 kB / 1.129 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/0.7842, allocations: 0.9036 MB / 1.13 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/0.8182, allocations: 20.02 MB / 1.15 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.8199, allocations: 1.952 MB / 1.151 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001325/0.8212, allocations: 334.4 kB / 1.152 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009207/0.8222, allocations: 0.7989 MB / 1.153 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.8222, allocations: 0 / 1.153 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/1.324, allocations: 49.06 MB / 1.2 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004054/1.324, allocations: 313.8 kB / 1.201 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/4.931, allocations: 4 kB / 1.201 GB, free: 7.832 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)