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.001332/0.001332, allocations: 108.5 kB / 15.99 MB, free: 6.367 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.001355/0.001354, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.559/1.559, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.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.862/1.862, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.00143/0.00143, allocations: 71.61 kB / 0.6717 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3041, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7909/1.095, allocations: 176.8 MB / 0.9562 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02189/1.117, allocations: 10.8 MB / 0.9667 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00485/1.122, allocations: 75.09 kB / 0.9668 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007834/1.13, allocations: 1.876 MB / 0.9686 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006552/1.136, allocations: 1.471 MB / 0.9701 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/1.139, allocations: 0.7183 MB / 0.9708 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006242/1.145, allocations: 3.138 MB / 0.9738 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/1.148, allocations: 1.303 MB / 0.9751 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/1.151, allocations: 1.11 MB / 0.9762 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/1.155, allocations: 1.147 MB / 0.9773 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004431/1.155, allocations: 129.2 kB / 0.9774 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/1.158, allocations: 0.9584 MB / 0.9784 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006125/1.159, allocations: 478.4 kB / 0.9788 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/1.161, allocations: 1.091 MB / 0.9799 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.165, allocations: 2.613 MB / 0.9824 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.165, allocations: 1.25 kB / 0.9824 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/1.165, allocations: 0 / 0.9824 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.306e-05/1.165, allocations: 4 kB / 0.9824 GB, free: 2.441 MB / 0.7325 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.005449/1.17, allocations: 2.743 MB / 0.9851 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.17, allocations: 8.781 kB / 0.9851 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/1.172, allocations: 368.2 kB / 0.9855 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/1.175, allocations: 1.879 MB / 0.9873 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/1.175, allocations: 66.75 kB / 0.9874 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.175, allocations: 73.06 kB / 0.9874 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.177, allocations: 0.9411 MB / 0.9884 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.177, allocations: 0 / 0.9884 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/1.177, allocations: 34.98 kB / 0.9884 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/1.177, allocations: 26.38 kB / 0.9884 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/1.178, allocations: 0.7041 MB / 0.9891 GB, free: 16.05 MB / 0.7481 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.006946/1.185, allocations: 4.471 MB / 0.9935 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/1.186, allocations: 329 kB / 0.9938 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/1.186, allocations: 182.8 kB / 0.994 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/1.186, allocations: 97.22 kB / 0.994 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.186, allocations: 34.56 kB / 0.9941 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 3.026e-06/1.186, allocations: 6.625 kB / 0.9941 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.003818/1.19, allocations: 1.697 MB / 0.9957 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.19, allocations: 54.88 kB / 0.9958 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.195, allocations: 2.966 MB / 0.9987 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/1.195, allocations: 31.16 kB / 0.9987 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.196, allocations: 1.051 MB / 0.9998 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.196, allocations: 120.1 kB / 0.9999 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.196, allocations: 112.2 kB / 1 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.196, allocations: 326.2 kB / 1 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.197, allocations: 164.5 kB / 1 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/1.197, allocations: 367.4 kB / 1.001 GB, free: 9.43 MB / 0.7481 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.002233/1.199, allocations: 1.072 MB / 1.002 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.199, allocations: 2.312 kB / 1.002 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001575/1.201, allocations: 0.8022 MB / 1.003 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.201, allocations: 8.344 kB / 1.003 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.201, allocations: 6.844 kB / 1.003 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/1.201, allocations: 58.42 kB / 1.003 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/1.202, allocations: 105.2 kB / 1.003 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/1.203, allocations: 1.855 MB / 1.005 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.205, allocations: 46.36 kB / 1.005 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/1.205, allocations: 23.44 kB / 1.005 GB, free: 6.676 MB / 0.7481 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.001508/1.206, allocations: 0.7955 MB / 1.005 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/1.207, allocations: 232.2 kB / 1.006 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/1.207, allocations: 258.7 kB / 1.006 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.207, allocations: 3.188 kB / 1.006 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.207, allocations: 0 / 1.006 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000717/1.208, allocations: 0.5981 MB / 1.007 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/1.212, allocations: 2.051 MB / 1.009 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.212, allocations: 2.406 kB / 1.009 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/1.212, allocations: 69.47 kB / 1.009 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/1.212, allocations: 57.47 kB / 1.009 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/1.212, allocations: 9.281 kB / 1.009 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.214, allocations: 1.872 MB / 1.01 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.214, allocations: 7.156 kB / 1.01 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.215, allocations: 0.9375 MB / 1.011 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.216, allocations: 424 kB / 1.012 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/1.217, allocations: 8.906 kB / 1.012 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.218, allocations: 29.48 kB / 1.012 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/1.218, allocations: 37 kB / 1.012 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.218, allocations: 18.41 kB / 1.012 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004031/1.222, allocations: 2.098 MB / 1.014 GB, free: 240 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.222, allocations: 0 / 1.014 GB, free: 240 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001632/1.224, allocations: 302.6 kB / 1.014 GB, free: 220 kB / 0.7481 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.0005399/1.224, allocations: 165.1 kB / 1.014 GB, free: 104 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.226, allocations: 0.5477 MB / 1.015 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.226, allocations: 2.531 kB / 1.015 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004648/1.226, allocations: 304.2 kB / 1.015 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.231, allocations: 0.9695 MB / 1.016 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/1.24, allocations: 4.554 MB / 1.021 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/1.243, allocations: 1.819 MB / 1.022 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/1.243, allocations: 118.4 kB / 1.022 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of SimCode: time 1.343e-06/1.243, allocations: 2.562 kB / 1.022 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of Templates: time 0.07626/1.319, allocations: 44.31 MB / 1.066 GB, free: 3.383 MB / 0.795 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 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)