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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001587/0.001587, allocations: 192.1 kB / 16.14 MB, free: 6.719 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5316, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1691/0.7008, allocations: 176.9 MB / 1.122 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.7157, allocations: 10.95 MB / 1.132 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.7184, allocations: 79.56 kB / 1.133 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00504/0.7235, allocations: 1.855 MB / 1.134 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.7271, allocations: 1.473 MB / 1.136 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.7288, allocations: 0.7074 MB / 1.136 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.7325, allocations: 3.706 MB / 1.14 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.7338, allocations: 1.164 MB / 1.141 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.735, allocations: 0.991 MB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.7367, allocations: 1.117 MB / 1.143 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.7369, allocations: 84 kB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.7386, allocations: 1.002 MB / 1.144 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.739, allocations: 434 kB / 1.145 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009006/0.7399, allocations: 1.049 MB / 1.146 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.7425, allocations: 3.099 MB / 1.149 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7425, allocations: 8 kB / 1.149 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.51e-07/0.7425, allocations: 3.938 kB / 1.149 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.7425, allocations: 4 kB / 1.149 GB, free: 4.785 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.003399/0.7459, allocations: 2.704 MB / 1.151 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.746, allocations: 8.031 kB / 1.151 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.7461, allocations: 130.7 kB / 1.152 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.7474, allocations: 368.5 kB / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.7499, allocations: 1.88 MB / 1.154 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.75, allocations: 58 kB / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7501, allocations: 79.94 kB / 1.154 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.7514, allocations: 0.9484 MB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7515, allocations: 0 / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.7515, allocations: 32 kB / 1.155 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.7516, allocations: 28.94 kB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.7527, allocations: 0.6986 MB / 1.156 GB, free: 13.67 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.004949/0.7576, allocations: 4.487 MB / 1.16 GB, free: 8.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.7581, allocations: 314.7 kB / 1.16 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.7583, allocations: 188.7 kB / 1.16 GB, free: 8.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.7585, allocations: 93.09 kB / 1.161 GB, free: 8.359 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.7585, allocations: 38.56 kB / 1.161 GB, free: 8.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.7585, allocations: 0 / 1.161 GB, free: 8.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002653/0.7612, allocations: 1.706 MB / 1.162 GB, free: 6.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.7612, allocations: 51.41 kB / 1.162 GB, free: 6.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/0.7646, allocations: 2.98 MB / 1.165 GB, free: 3.469 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.7646, allocations: 33.7 kB / 1.165 GB, free: 3.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/0.7655, allocations: 1.05 MB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.7656, allocations: 118.3 kB / 1.166 GB, free: 2.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.7658, allocations: 110.1 kB / 1.166 GB, free: 2.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7659, allocations: 334 kB / 1.167 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.7661, allocations: 161 kB / 1.167 GB, free: 1.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.7665, allocations: 362.4 kB / 1.167 GB, free: 1.207 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.002016/0.7685, allocations: 1.088 MB / 1.168 GB, free: 16 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7685, allocations: 0 / 1.168 GB, free: 16 kB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001064/0.7696, allocations: 0.7958 MB / 1.169 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7696, allocations: 8 kB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7696, allocations: 4 kB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.7698, allocations: 57.36 kB / 1.169 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.7702, allocations: 111.8 kB / 1.169 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.7716, allocations: 1.67 MB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.7724, allocations: 53.86 kB / 1.171 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.7724, allocations: 20.12 kB / 1.171 GB, free: 13.15 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.000893/0.7733, allocations: 0.8095 MB / 1.172 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.7735, allocations: 233 kB / 1.172 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.7739, allocations: 251.7 kB / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7739, allocations: 4 kB / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7739, allocations: 0 / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006604/0.7746, allocations: 0.6048 MB / 1.173 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.7774, allocations: 2.053 MB / 1.175 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7774, allocations: 7.875 kB / 1.175 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.7777, allocations: 63.91 kB / 1.175 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.7779, allocations: 60.75 kB / 1.175 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.7779, allocations: 12 kB / 1.175 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.7792, allocations: 1.667 MB / 1.177 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7792, allocations: 11.92 kB / 1.177 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.7803, allocations: 0.9258 MB / 1.178 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.7809, allocations: 410.1 kB / 1.178 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.7811, allocations: 16 kB / 1.178 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.7817, allocations: 32.03 kB / 1.178 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.7817, allocations: 31.84 kB / 1.178 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.7818, allocations: 15.98 kB / 1.178 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002524/0.7843, allocations: 2.107 MB / 1.18 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7843, allocations: 0 / 1.18 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000891/0.7852, allocations: 304 kB / 1.18 GB, free: 3.152 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.001558/0.7868, allocations: 1.539 MB / 1.182 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.7876, allocations: 0.5261 MB / 1.182 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7876, allocations: 3.938 kB / 1.182 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.7879, allocations: 292.4 kB / 1.183 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.7912, allocations: 0.8916 MB / 1.184 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.8198, allocations: 20.07 MB / 1.203 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.8213, allocations: 1.953 MB / 1.205 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001088/0.8224, allocations: 330.5 kB / 1.205 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008743/0.8233, allocations: 0.8 MB / 1.206 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of SimCode: time 1.754e-06/0.8233, allocations: 0 / 1.206 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.01/1.834, allocations: 49.39 MB / 1.254 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.834, allocations: 292.7 kB / 1.255 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/4.533, allocations: 2.266 kB / 1.255 GB, free: 279.2 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)