Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009811, 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.0009247/0.0009247, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.435/2.435, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 60.97 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2387, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1554/0.3941, allocations: 176.9 MB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4785/0.8726, allocations: 10.93 MB / 1.251 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.8748, allocations: 76.72 kB / 1.251 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/0.8793, allocations: 1.84 MB / 1.253 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.8827, allocations: 1.494 MB / 1.254 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.8843, allocations: 0.7085 MB / 1.255 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003536/0.8878, allocations: 3.705 MB / 1.259 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.889, allocations: 1.165 MB / 1.26 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.8903, allocations: 0.9937 MB / 1.261 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.8919, allocations: 1.113 MB / 1.262 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.8921, allocations: 84.64 kB / 1.262 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.8938, allocations: 1.007 MB / 1.263 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.8942, allocations: 433.6 kB / 1.263 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008275/0.895, allocations: 1.045 MB / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.8976, allocations: 3.107 MB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8977, allocations: 2.25 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8977, allocations: 0 / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.8977, allocations: 0 / 1.267 GB, free: 4.895 MB / 0.9981 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.00325/0.901, allocations: 2.705 MB / 1.27 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.901, allocations: 9.156 kB / 1.27 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.9023, allocations: 376.1 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.9048, allocations: 1.883 MB / 1.272 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.9049, allocations: 61.78 kB / 1.272 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.905, allocations: 77.88 kB / 1.272 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.9063, allocations: 0.9392 MB / 1.273 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9063, allocations: 5.078 kB / 1.273 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.9064, allocations: 29.97 kB / 1.273 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.9064, allocations: 31.28 kB / 1.273 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.9077, allocations: 0.6963 MB / 1.274 GB, free: 18.56 MB / 1.014 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.004973/0.9126, allocations: 4.487 MB / 1.278 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.9131, allocations: 310.8 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.9133, allocations: 175.3 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.9135, allocations: 100.8 kB / 1.279 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.9135, allocations: 41.02 kB / 1.279 GB, free: 16.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.9135, allocations: 0 / 1.279 GB, free: 16.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.00252/0.916, allocations: 1.711 MB / 1.281 GB, free: 15.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.9161, allocations: 56.31 kB / 1.281 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.9192, allocations: 2.979 MB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.9193, allocations: 34.97 kB / 1.284 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/0.9199, allocations: 1.055 MB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.92, allocations: 120.4 kB / 1.285 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9202, allocations: 107 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.9203, allocations: 326.3 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.9205, allocations: 164.6 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.9208, allocations: 367.5 kB / 1.286 GB, free: 14.42 MB / 1.014 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.001831/0.9226, allocations: 1.074 MB / 1.287 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9226, allocations: 2.812 kB / 1.287 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001002/0.9236, allocations: 0.801 MB / 1.287 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9236, allocations: 11.41 kB / 1.287 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.9237, allocations: 10.31 kB / 1.288 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.9238, allocations: 62.28 kB / 1.288 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.9242, allocations: 100.8 kB / 1.288 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.9254, allocations: 1.684 MB / 1.289 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.9262, allocations: 48.72 kB / 1.289 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.9263, allocations: 22.25 kB / 1.289 GB, free: 12.53 MB / 1.014 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.0008286/0.9271, allocations: 0.7975 MB / 1.29 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.9273, allocations: 232.7 kB / 1.29 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.9276, allocations: 253.7 kB / 1.291 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9277, allocations: 3.375 kB / 1.291 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9277, allocations: 1.062 kB / 1.291 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.9282, allocations: 0.5997 MB / 1.291 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.9307, allocations: 2.054 MB / 1.293 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9308, allocations: 3.25 kB / 1.293 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.9311, allocations: 59.08 kB / 1.293 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.9312, allocations: 64.31 kB / 1.293 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.9312, allocations: 13.06 kB / 1.293 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.9324, allocations: 1.693 MB / 1.295 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9324, allocations: 4 kB / 1.295 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.9334, allocations: 0.9255 MB / 1.296 GB, free: 9.676 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/0.9339, allocations: 407.7 kB / 1.296 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.9342, allocations: 16.67 kB / 1.296 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.9347, allocations: 28.33 kB / 1.296 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.9348, allocations: 32.7 kB / 1.296 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.9348, allocations: 18.69 kB / 1.296 GB, free: 9.445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002414/0.9373, allocations: 2.102 MB / 1.298 GB, free: 9.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9373, allocations: 5.125 kB / 1.298 GB, free: 9.297 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009792/0.9383, allocations: 302.2 kB / 1.299 GB, free: 9.297 MB / 1.014 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.0003663/0.9386, allocations: 171.3 kB / 1.299 GB, free: 9.199 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007621/0.9394, allocations: 0.5192 MB / 1.299 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9394, allocations: 5.344 kB / 1.299 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.9397, allocations: 301.8 kB / 1.3 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.9429, allocations: 0.8833 MB / 1.301 GB, free: 8.863 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.9479, allocations: 4.759 MB / 1.305 GB, free: 6.758 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.9491, allocations: 1.951 MB / 1.307 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000961/0.95, allocations: 338.1 kB / 1.307 GB, free: 5.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.9502, allocations: 104.4 kB / 1.308 GB, free: 5.922 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/0.9502, allocations: 0 / 1.308 GB, free: 5.922 MB / 1.014 GB Notification: Performance of Templates: time 0.03901/0.9893, allocations: 28.68 MB / 1.336 GB, free: 13.69 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)