Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.001259/0.001259, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001318/0.001318, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.89 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5262, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1512/0.6774, allocations: 176.8 MB / 1.19 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.6898, allocations: 10.85 MB / 1.2 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6912, allocations: 75.56 kB / 1.2 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.695, allocations: 1.874 MB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.6979, allocations: 1.473 MB / 1.204 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.6993, allocations: 0.7146 MB / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002835/0.7022, allocations: 3.166 MB / 1.207 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.7034, allocations: 1.305 MB / 1.209 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.7045, allocations: 1.116 MB / 1.21 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.7061, allocations: 1.158 MB / 1.211 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.7062, allocations: 136 kB / 1.211 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.7076, allocations: 0.9548 MB / 1.212 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.708, allocations: 478.1 kB / 1.212 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.7089, allocations: 1.103 MB / 1.213 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.7114, allocations: 3.274 MB / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7114, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7114, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.7115, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 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.00301/0.7145, allocations: 2.747 MB / 1.219 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7145, allocations: 16.02 kB / 1.219 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.7146, allocations: 122.7 kB / 1.219 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7159, allocations: 372.6 kB / 1.22 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.7183, allocations: 1.884 MB / 1.222 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.7184, allocations: 62 kB / 1.222 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.7185, allocations: 83.94 kB / 1.222 GB, free: 48 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7197, allocations: 0.9406 MB / 1.223 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.7198, allocations: 7.906 kB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.7198, allocations: 32 kB / 1.223 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.7199, allocations: 28.94 kB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.7209, allocations: 0.6985 MB / 1.223 GB, free: 14.29 MB / 0.9825 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.004826/0.7257, allocations: 4.487 MB / 1.228 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.7262, allocations: 310.6 kB / 1.228 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.7264, allocations: 184.6 kB / 1.228 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.7266, allocations: 97.09 kB / 1.228 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7267, allocations: 38.56 kB / 1.228 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.7267, allocations: 0 / 1.228 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.00267/0.7293, allocations: 1.704 MB / 1.23 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.7294, allocations: 55.41 kB / 1.23 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.7325, allocations: 2.973 MB / 1.233 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.7326, allocations: 33.7 kB / 1.233 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/0.7334, allocations: 1.054 MB / 1.234 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.7335, allocations: 114.3 kB / 1.234 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.7337, allocations: 110.1 kB / 1.234 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7338, allocations: 330 kB / 1.235 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.734, allocations: 161 kB / 1.235 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.7344, allocations: 374.3 kB / 1.235 GB, free: 1.832 MB / 0.9825 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.001911/0.7363, allocations: 1.08 MB / 1.236 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7363, allocations: 0 / 1.236 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001016/0.7373, allocations: 0.801 MB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7373, allocations: 11.94 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7373, allocations: 4 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.7375, allocations: 64.81 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.7379, allocations: 103.8 kB / 1.237 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.7392, allocations: 1.857 MB / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.7399, allocations: 60.47 kB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.74, allocations: 24 kB / 1.239 GB, free: 13.57 MB / 0.9981 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.0007763/0.7408, allocations: 0.7939 MB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.741, allocations: 233.2 kB / 1.24 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.7413, allocations: 255.7 kB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7413, allocations: 4 kB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7413, allocations: 0 / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005776/0.7419, allocations: 0.597 MB / 1.241 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.7444, allocations: 2.061 MB / 1.243 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7444, allocations: 4 kB / 1.243 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.7447, allocations: 63.91 kB / 1.243 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.7448, allocations: 56.81 kB / 1.243 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.7449, allocations: 12 kB / 1.243 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.7461, allocations: 1.861 MB / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7462, allocations: 8.062 kB / 1.245 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.7472, allocations: 0.9217 MB / 1.246 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.7477, allocations: 414.2 kB / 1.246 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.7479, allocations: 15.94 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.7485, allocations: 33.84 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.7486, allocations: 35.91 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.7486, allocations: 12 kB / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002287/0.7509, allocations: 2.103 MB / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7509, allocations: 0 / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008147/0.7517, allocations: 304 kB / 1.249 GB, free: 3.398 MB / 0.9981 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.001452/0.7532, allocations: 1.552 MB / 1.25 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007581/0.754, allocations: 0.5502 MB / 1.251 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.754, allocations: 3.938 kB / 1.251 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.7543, allocations: 300.4 kB / 1.251 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3612/1.116, allocations: 0.9519 MB / 1.252 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.146, allocations: 20.5 MB / 1.272 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.147, allocations: 1.956 MB / 1.274 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001256/1.149, allocations: 393.3 kB / 1.274 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/1.149, allocations: 0.8175 MB / 1.275 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.149, allocations: 0 / 1.275 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.933/6.082, allocations: 51.63 MB / 1.325 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/6.082, allocations: 299.8 kB / 1.326 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/8.685, allocations: 2.391 kB / 1.326 GB, free: 176.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)