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.363/1.363, allocations: 252 MB / 267 MB, free: 10.97 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.001124/0.001124, allocations: 177.7 kB / 326.6 MB, free: 2.227 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.749/1.749, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.0008129/0.0008133, allocations: 90.83 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 8.062 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 106.4 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5767/0.7934, allocations: 162.9 MB / 1.059 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.8085, allocations: 10.18 MB / 1.069 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.8116, allocations: 71.31 kB / 1.069 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005746/0.8174, allocations: 1.584 MB / 1.071 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.8222, allocations: 1.248 MB / 1.072 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.8253, allocations: 0.5778 MB / 1.073 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006227/0.8315, allocations: 3.196 MB / 1.076 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.8339, allocations: 0.9928 MB / 1.077 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.8363, allocations: 0.9646 MB / 1.078 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.8386, allocations: 1.013 MB / 1.079 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.8391, allocations: 69.94 kB / 1.079 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.8412, allocations: 479.6 kB / 1.079 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006066/0.8419, allocations: 398.6 kB / 1.08 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.8432, allocations: 476.5 kB / 1.08 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.8463, allocations: 2.388 MB / 1.082 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8464, allocations: 0 / 1.082 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8464, allocations: 4 kB / 1.082 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.487e-05/0.8465, allocations: 1.031 kB / 1.082 GB, free: 19.2 MB / 0.7136 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.005685/0.8522, allocations: 2.332 MB / 1.085 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.8523, allocations: 12.31 kB / 1.085 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004606/0.8527, allocations: 126.2 kB / 1.085 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.8548, allocations: 381.6 kB / 1.085 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.8588, allocations: 1.771 MB / 1.087 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.8589, allocations: 58.72 kB / 1.087 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.859, allocations: 73.12 kB / 1.087 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.8606, allocations: 0.9447 MB / 1.088 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.8607, allocations: 3.875 kB / 1.088 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.8607, allocations: 34.19 kB / 1.088 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.8608, allocations: 25.34 kB / 1.088 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.862, allocations: 0.6897 MB / 1.089 GB, free: 17.07 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.00772/0.8698, allocations: 4.509 MB / 1.093 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.8703, allocations: 312.7 kB / 1.093 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.8706, allocations: 176.1 kB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.8708, allocations: 96.28 kB / 1.094 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.8709, allocations: 42.95 kB / 1.094 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/0.8709, allocations: 0 / 1.094 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.003804/0.8747, allocations: 1.688 MB / 1.095 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.8748, allocations: 54.66 kB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/0.8795, allocations: 2.948 MB / 1.098 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.8796, allocations: 35.8 kB / 1.098 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.8804, allocations: 1.056 MB / 1.099 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.8806, allocations: 118.1 kB / 1.099 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.8806, allocations: 7.219 kB / 1.1 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8808, allocations: 328 kB / 1.1 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.881, allocations: 163.1 kB / 1.1 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.8814, allocations: 363 kB / 1.1 GB, free: 12.95 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.001471/0.8828, allocations: 0.6091 MB / 1.101 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8829, allocations: 1.812 kB / 1.101 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001493/0.8844, allocations: 0.7927 MB / 1.102 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.8844, allocations: 7.906 kB / 1.102 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8844, allocations: 5.875 kB / 1.102 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.8846, allocations: 62.95 kB / 1.102 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.8849, allocations: 98.88 kB / 1.102 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.8865, allocations: 1.68 MB / 1.103 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.8881, allocations: 49.03 kB / 1.104 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.8882, allocations: 23.28 kB / 1.104 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001615/0.8898, allocations: 0.7986 MB / 1.104 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/0.8905, allocations: 232.6 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.8911, allocations: 255.2 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.8911, allocations: 6.641 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.8912, allocations: 4 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007842/0.8919, allocations: 0.5948 MB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.8961, allocations: 2.049 MB / 1.107 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.8961, allocations: 10.83 kB / 1.107 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.8965, allocations: 71.66 kB / 1.107 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.8966, allocations: 52 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.8967, allocations: 9.25 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.898, allocations: 1.677 MB / 1.109 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8981, allocations: 6.062 kB / 1.109 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.8997, allocations: 0.9321 MB / 1.11 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9008, allocations: 421.5 kB / 1.11 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.9011, allocations: 13.2 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.9019, allocations: 31.41 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.902, allocations: 31.78 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.902, allocations: 11.78 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004155/0.9062, allocations: 2.086 MB / 1.113 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9062, allocations: 0 / 1.113 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002394/0.9087, allocations: 302.1 kB / 1.113 GB, free: 8.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/0.9112, allocations: 1.57 MB / 1.114 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.9124, allocations: 0.5168 MB / 1.115 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.9124, allocations: 0 / 1.115 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.913, allocations: 302.3 kB / 1.115 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/0.9187, allocations: 0.8875 MB / 1.116 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/0.9548, allocations: 15.6 MB / 1.131 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.9573, allocations: 1.956 MB / 1.133 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001843/0.9591, allocations: 342.4 kB / 1.134 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.9603, allocations: 0.7989 MB / 1.134 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.9603, allocations: 3.219 kB / 1.134 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/1.043, allocations: 49.59 MB / 1.183 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.043, allocations: 282 kB / 1.183 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/4.537, allocations: 5.969 kB / 1.183 GB, free: 3.742 MB / 0.7605 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)