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.0006441/0.0006442, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.003628/0.003628, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.138/1.138, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.485/1.485, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004645/0.0004645, allocations: 19.84 kB / 0.6743 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4823/0.6485, allocations: 174.5 MB / 0.9583 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.6607, allocations: 10.79 MB / 0.9688 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.6634, allocations: 70.53 kB / 0.9689 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004705/0.6681, allocations: 1.838 MB / 0.9707 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.6719, allocations: 1.477 MB / 0.9721 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.6736, allocations: 0.6961 MB / 0.9728 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.6775, allocations: 3.684 MB / 0.9764 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.679, allocations: 1.126 MB / 0.9775 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.6805, allocations: 0.9568 MB / 0.9784 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.682, allocations: 1.066 MB / 0.9795 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.6822, allocations: 69.44 kB / 0.9795 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.6836, allocations: 0.9983 MB / 0.9805 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.6839, allocations: 411 kB / 0.9809 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.6846, allocations: 1.037 MB / 0.9819 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.6868, allocations: 3.035 MB / 0.9849 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.6868, allocations: 0 / 0.9849 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6868, allocations: 3.344 kB / 0.9849 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.6869, allocations: 3.938 kB / 0.9849 GB, free: 10.27 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.002579/0.6894, allocations: 2.308 MB / 0.9871 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.6895, allocations: 12.69 kB / 0.9872 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.6906, allocations: 375.4 kB / 0.9875 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.6927, allocations: 1.872 MB / 0.9893 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.6927, allocations: 55.81 kB / 0.9894 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.6928, allocations: 78.47 kB / 0.9895 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.694, allocations: 0.9331 MB / 0.9904 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.694, allocations: 3.938 kB / 0.9904 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.6941, allocations: 33.5 kB / 0.9904 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.6941, allocations: 26.31 kB / 0.9904 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.695, allocations: 0.7036 MB / 0.9911 GB, free: 6.578 MB / 0.7325 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.00436/0.6994, allocations: 4.484 MB / 0.9955 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.6998, allocations: 322.9 kB / 0.9958 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.7, allocations: 184.8 kB / 0.996 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.7002, allocations: 94.88 kB / 0.9961 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.7002, allocations: 37.5 kB / 0.9961 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.7002, allocations: 4 kB / 0.9961 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002348/0.7026, allocations: 1.707 MB / 0.9978 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.7026, allocations: 54.47 kB / 0.9978 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.7056, allocations: 2.963 MB / 1.001 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.7056, allocations: 32.2 kB / 1.001 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.7064, allocations: 1.052 MB / 1.002 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/0.7065, allocations: 116.4 kB / 1.002 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7066, allocations: 47.53 kB / 1.002 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.7067, allocations: 328.2 kB / 1.002 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.7069, allocations: 166.9 kB / 1.002 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.7073, allocations: 367.3 kB / 1.003 GB, free: 14 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.001749/0.709, allocations: 1.075 MB / 1.004 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.709, allocations: 2.656 kB / 1.004 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009419/0.71, allocations: 0.7989 MB / 1.005 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.71, allocations: 8 kB / 1.005 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.71, allocations: 6.156 kB / 1.005 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.7102, allocations: 64.91 kB / 1.005 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.7105, allocations: 106.4 kB / 1.005 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.7118, allocations: 1.677 MB / 1.006 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.7125, allocations: 43.25 kB / 1.006 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.7125, allocations: 23.47 kB / 1.006 GB, free: 11.11 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 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 (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.0007774/0.7133, allocations: 0.8005 MB / 1.007 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.7135, allocations: 239.5 kB / 1.007 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.7138, allocations: 249.1 kB / 1.008 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7138, allocations: 5.906 kB / 1.008 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7138, allocations: 0 / 1.008 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006172/0.7145, allocations: 0.5976 MB / 1.008 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.717, allocations: 2.057 MB / 1.01 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.717, allocations: 1.719 kB / 1.01 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.7172, allocations: 66.31 kB / 1.01 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.7174, allocations: 64.28 kB / 1.01 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.7174, allocations: 9.75 kB / 1.01 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.7186, allocations: 1.68 MB / 1.012 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7186, allocations: 7.281 kB / 1.012 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.7196, allocations: 0.9455 MB / 1.013 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.7201, allocations: 408.7 kB / 1.013 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.7203, allocations: 16.06 kB / 1.013 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.7209, allocations: 33.8 kB / 1.013 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.7209, allocations: 33.59 kB / 1.013 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.721, allocations: 14.91 kB / 1.014 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002265/0.7232, allocations: 2.098 MB / 1.016 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7233, allocations: 0 / 1.016 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008186/0.7241, allocations: 305.8 kB / 1.016 GB, free: 4.586 MB / 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.000347/0.7244, allocations: 168.9 kB / 1.016 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007024/0.7251, allocations: 0.5264 MB / 1.017 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7252, allocations: 1.562 kB / 1.017 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.7255, allocations: 306 kB / 1.017 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.7296, allocations: 0.8736 MB / 1.018 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.7343, allocations: 4.824 MB / 1.022 GB, free: 392 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.7356, allocations: 1.952 MB / 1.024 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007773/0.7364, allocations: 339.9 kB / 1.025 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7365, allocations: 106.1 kB / 1.025 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of SimCode: time 2.91e-07/0.7365, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.0377/0.7743, allocations: 28.48 MB / 1.053 GB, free: 3.867 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: