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.443/1.443, allocations: 252 MB / 267.3 MB, free: 10.85 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.001473/0.001473, allocations: 169.3 kB / 327 MB, free: 2.105 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.82/1.82, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008721/0.0008723, allocations: 90.25 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 13.19 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7431/0.9741, allocations: 174.6 MB / 1.071 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.994, allocations: 10.84 MB / 1.082 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.9983, allocations: 71.72 kB / 1.082 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007766/1.006, allocations: 1.84 MB / 1.084 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007187/1.013, allocations: 1.483 MB / 1.085 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/1.017, allocations: 0.7304 MB / 1.086 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007566/1.024, allocations: 3.769 MB / 1.09 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/1.027, allocations: 1.13 MB / 1.091 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/1.03, allocations: 0.9923 MB / 1.092 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/1.035, allocations: 1.076 MB / 1.093 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007966/1.036, allocations: 70.5 kB / 1.093 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/1.04, allocations: 0.9914 MB / 1.094 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.041, allocations: 422.3 kB / 1.094 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00402/1.045, allocations: 1.045 MB / 1.095 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/1.052, allocations: 3.065 MB / 1.098 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.052, allocations: 0 / 1.098 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.574e-06/1.052, allocations: 0 / 1.098 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001225/1.052, allocations: 0 / 1.098 GB, free: 0.6211 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.007219/1.059, allocations: 2.316 MB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/1.059, allocations: 11.09 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005882/1.06, allocations: 126.8 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/1.063, allocations: 371.2 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/1.068, allocations: 1.879 MB / 1.103 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/1.068, allocations: 59.22 kB / 1.103 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.068, allocations: 74.31 kB / 1.103 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.07, allocations: 0.9494 MB / 1.104 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.07, allocations: 8 kB / 1.104 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/1.07, allocations: 35.19 kB / 1.104 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/1.07, allocations: 31.41 kB / 1.104 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.071, allocations: 0.698 MB / 1.105 GB, free: 14.34 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.008081/1.079, allocations: 4.505 MB / 1.109 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/1.08, allocations: 313.2 kB / 1.109 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/1.08, allocations: 179 kB / 1.11 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/1.08, allocations: 101.4 kB / 1.11 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.081, allocations: 37.47 kB / 1.11 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.106e-06/1.081, allocations: 0 / 1.11 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.004101/1.085, allocations: 1.702 MB / 1.111 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.085, allocations: 64.89 kB / 1.111 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/1.09, allocations: 2.973 MB / 1.114 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.09, allocations: 29.39 kB / 1.114 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.091, allocations: 1.049 MB / 1.115 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/1.091, allocations: 120.1 kB / 1.115 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/1.091, allocations: 8.188 kB / 1.115 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.091, allocations: 326.4 kB / 1.116 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/1.092, allocations: 167.3 kB / 1.116 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/1.092, allocations: 363 kB / 1.116 GB, free: 10.2 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.002145/1.094, allocations: 1.057 MB / 1.117 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/1.094, allocations: 2.938 kB / 1.117 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001872/1.096, allocations: 0.7864 MB / 1.118 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.096, allocations: 13.03 kB / 1.118 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.096, allocations: 6.594 kB / 1.118 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/1.096, allocations: 65.27 kB / 1.118 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/1.097, allocations: 96.77 kB / 1.118 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/1.098, allocations: 1.682 MB / 1.12 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.1, allocations: 44.3 kB / 1.12 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/1.1, allocations: 25.53 kB / 1.12 GB, free: 8.32 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.002013/1.102, allocations: 0.7964 MB / 1.121 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/1.103, allocations: 239.3 kB / 1.121 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/1.103, allocations: 253.8 kB / 1.121 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.103, allocations: 3.281 kB / 1.121 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.103, allocations: 2.656 kB / 1.121 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008627/1.104, allocations: 0.599 MB / 1.122 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/1.11, allocations: 2.047 MB / 1.124 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.11, allocations: 3.344 kB / 1.124 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.11, allocations: 70.94 kB / 1.124 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/1.111, allocations: 60.08 kB / 1.124 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.111, allocations: 10.05 kB / 1.124 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/1.113, allocations: 1.681 MB / 1.126 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/1.113, allocations: 8.328 kB / 1.126 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/1.116, allocations: 0.9512 MB / 1.127 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.117, allocations: 419.1 kB / 1.127 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/1.117, allocations: 18.59 kB / 1.127 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/1.118, allocations: 30.16 kB / 1.127 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.118, allocations: 31.69 kB / 1.127 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/1.118, allocations: 17.05 kB / 1.127 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003895/1.122, allocations: 2.104 MB / 1.129 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.122, allocations: 2 kB / 1.129 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001864/1.124, allocations: 306.5 kB / 1.129 GB, free: 5.07 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.002648/1.127, allocations: 1.556 MB / 1.131 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.128, allocations: 0.5237 MB / 1.131 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.128, allocations: 6.875 kB / 1.131 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/1.128, allocations: 293.9 kB / 1.132 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/1.134, allocations: 0.887 MB / 1.133 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0428/1.177, allocations: 20.11 MB / 1.152 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.179, allocations: 1.958 MB / 1.154 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001458/1.18, allocations: 330.1 kB / 1.154 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009885/1.181, allocations: 0.8018 MB / 1.155 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/1.181, allocations: 0 / 1.155 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08513/1.266, allocations: 49.07 MB / 1.203 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.267, allocations: 306.9 kB / 1.203 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/5.151, allocations: 0 / 1.203 GB, free: 7.207 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)