Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009874/0.0009874, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001024/0.001024, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 292.3 MB / 0.5495 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1749, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4273/0.6023, allocations: 179.2 MB / 0.9591 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6157, allocations: 10.93 MB / 0.9698 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.6178, allocations: 87.5 kB / 0.9699 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.622, allocations: 1.996 MB / 0.9718 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.6254, allocations: 1.604 MB / 0.9734 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.627, allocations: 0.787 MB / 0.9742 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00315/0.6302, allocations: 3.113 MB / 0.9772 GB, free: 4.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.6316, allocations: 1.313 MB / 0.9785 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.6327, allocations: 1.093 MB / 0.9795 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.6343, allocations: 1.115 MB / 0.9806 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.6346, allocations: 128 kB / 0.9808 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.636, allocations: 0.9121 MB / 0.9817 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.6364, allocations: 474.1 kB / 0.9821 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008621/0.6373, allocations: 1.091 MB / 0.9832 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.64, allocations: 3.239 MB / 0.9863 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.64, allocations: 0 / 0.9863 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.64, allocations: 0 / 0.9863 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.64, allocations: 0 / 0.9863 GB, free: 11.29 MB / 0.7794 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.003077/0.6431, allocations: 2.742 MB / 0.989 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.6431, allocations: 8.031 kB / 0.989 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.6443, allocations: 372.6 kB / 0.9894 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.6467, allocations: 1.905 MB / 0.9912 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.6467, allocations: 65.98 kB / 0.9913 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.6468, allocations: 80 kB / 0.9914 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.648, allocations: 0.9328 MB / 0.9923 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6481, allocations: 4 kB / 0.9923 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.6481, allocations: 32 kB / 0.9923 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.6482, allocations: 28.94 kB / 0.9923 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009624/0.6492, allocations: 0.7025 MB / 0.993 GB, free: 4.262 MB / 0.7794 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.004545/0.6537, allocations: 4.444 MB / 0.9974 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.6541, allocations: 320.5 kB / 0.9977 GB, free: 15.28 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.6544, allocations: 176.8 kB / 0.9978 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.6545, allocations: 97.09 kB / 0.9979 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.6546, allocations: 42.28 kB / 0.998 GB, free: 14.94 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.6546, allocations: 0 / 0.998 GB, free: 14.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.002401/0.657, allocations: 1.694 MB / 0.9996 GB, free: 13.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.657, allocations: 55.41 kB / 0.9997 GB, free: 13.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.6601, allocations: 2.941 MB / 1.003 GB, free: 10.14 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.6601, allocations: 29.7 kB / 1.003 GB, free: 10.11 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008049/0.661, allocations: 1.066 MB / 1.004 GB, free: 9.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.6611, allocations: 110.5 kB / 1.004 GB, free: 8.934 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.6612, allocations: 114 kB / 1.004 GB, free: 8.812 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.6613, allocations: 326 kB / 1.004 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.6615, allocations: 165 kB / 1.004 GB, free: 8.328 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.6619, allocations: 370.9 kB / 1.005 GB, free: 7.879 MB / 0.795 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.001809/0.6637, allocations: 1.07 MB / 1.006 GB, free: 6.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6637, allocations: 7.938 kB / 1.006 GB, free: 6.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000978/0.6647, allocations: 0.7931 MB / 1.006 GB, free: 5.898 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6647, allocations: 8 kB / 1.006 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6647, allocations: 12.09 kB / 1.007 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.6649, allocations: 60.81 kB / 1.007 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.6652, allocations: 95.84 kB / 1.007 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6666, allocations: 1.873 MB / 1.008 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.6672, allocations: 31.92 kB / 1.009 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.6673, allocations: 34.69 kB / 1.009 GB, free: 3.652 MB / 0.795 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.0008099/0.6681, allocations: 0.7921 MB / 1.009 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.6683, allocations: 233 kB / 1.01 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.6686, allocations: 255.7 kB / 1.01 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6686, allocations: 0 / 1.01 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6686, allocations: 4 kB / 1.01 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000583/0.6692, allocations: 0.5938 MB / 1.01 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.6716, allocations: 2.047 MB / 1.012 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6717, allocations: 4 kB / 1.012 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.6719, allocations: 63.91 kB / 1.012 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.6721, allocations: 56.81 kB / 1.012 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.6721, allocations: 12.41 kB / 1.013 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.6734, allocations: 1.863 MB / 1.014 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6734, allocations: 4.031 kB / 1.014 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.6744, allocations: 0.9483 MB / 1.015 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.6749, allocations: 411.9 kB / 1.016 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.6751, allocations: 8 kB / 1.016 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/0.6756, allocations: 15.98 kB / 1.016 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.6756, allocations: 27.91 kB / 1.016 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.6757, allocations: 16 kB / 1.016 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002288/0.6779, allocations: 2.083 MB / 1.018 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.084e-06/0.678, allocations: 0 / 1.018 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007817/0.6787, allocations: 299.9 kB / 1.018 GB, free: 9.523 MB / 0.8106 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.0003213/0.6791, allocations: 168 kB / 1.018 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.6798, allocations: 0.5344 MB / 1.019 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6798, allocations: 3.938 kB / 1.019 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.6802, allocations: 305.2 kB / 1.019 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.683, allocations: 0.9635 MB / 1.02 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.6879, allocations: 4.112 MB / 1.024 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.6893, allocations: 1.953 MB / 1.026 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007423/0.6901, allocations: 340.3 kB / 1.026 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.6903, allocations: 103.4 kB / 1.026 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.6903, allocations: 4 kB / 1.026 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of Templates: time 0.04163/0.7319, allocations: 29.7 MB / 1.055 GB, free: 3.859 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)