Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 178.2 kB / 327.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.5783 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 86.58 kB / 0.6829 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 8.812 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2009, allocations: 106.3 MB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6299/0.8309, allocations: 184 MB / 1.081 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.8416, allocations: 6.92 MB / 1.087 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.8434, allocations: 28.69 kB / 1.087 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.8452, allocations: 475.6 kB / 1.088 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.8508, allocations: 1.733 MB / 1.089 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.8541, allocations: 0.8985 MB / 1.09 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004758/0.8589, allocations: 3.596 MB / 1.094 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.8604, allocations: 0.7006 MB / 1.095 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.8627, allocations: 0.9062 MB / 1.095 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.8648, allocations: 0.9345 MB / 1.096 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004036/0.8652, allocations: 50.16 kB / 1.096 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.869, allocations: 1.056 MB / 1.097 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007524/0.8698, allocations: 396.7 kB / 1.098 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009887/0.8708, allocations: 267.3 kB / 1.098 GB, free: 19.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.8736, allocations: 1.643 MB / 1.1 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.8736, allocations: 0 / 1.1 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8737, allocations: 4 kB / 1.1 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.751e-05/0.8737, allocations: 0 / 1.1 GB, free: 19.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003583/0.8773, allocations: 1.431 MB / 1.101 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.8774, allocations: 13.09 kB / 1.101 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.88, allocations: 377.9 kB / 1.101 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.8817, allocations: 0.7796 MB / 1.102 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.8817, allocations: 73.06 kB / 1.102 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.8819, allocations: 90.34 kB / 1.102 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.8838, allocations: 1.051 MB / 1.103 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.8838, allocations: 2.688 kB / 1.103 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8839, allocations: 40.03 kB / 1.103 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.884, allocations: 51.39 kB / 1.103 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.8856, allocations: 0.8798 MB / 1.104 GB, free: 18.23 MB / 0.7136 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.005481/0.8911, allocations: 4.299 MB / 1.109 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.8922, allocations: 0.6907 MB / 1.109 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.8929, allocations: 438 kB / 1.11 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/0.8937, allocations: 0.6753 MB / 1.11 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.8937, allocations: 44.19 kB / 1.11 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.8937, allocations: 0 / 1.11 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001894/0.8956, allocations: 0.9878 MB / 1.111 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.8957, allocations: 57.69 kB / 1.111 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.8965, allocations: 0.6352 MB / 1.112 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.8966, allocations: 36.64 kB / 1.112 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.8968, allocations: 440.2 kB / 1.112 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.897, allocations: 251.6 kB / 1.113 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.8971, allocations: 15.19 kB / 1.113 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8973, allocations: 387.7 kB / 1.113 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.8977, allocations: 268 kB / 1.113 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.8982, allocations: 364.1 kB / 1.114 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.8987, allocations: 320.7 kB / 1.114 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8987, allocations: 0 / 1.114 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001163/0.8999, allocations: 0.7822 MB / 1.115 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.8999, allocations: 5.281 kB / 1.115 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.8999, allocations: 3.344 kB / 1.115 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8999, allocations: 2.906 kB / 1.115 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.9006, allocations: 146.7 kB / 1.115 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.9006, allocations: 14.66 kB / 1.115 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.9017, allocations: 103.4 kB / 1.115 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.9017, allocations: 23.3 kB / 1.115 GB, free: 13.69 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.9022, allocations: 293.2 kB / 1.115 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.9024, allocations: 83.88 kB / 1.115 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.9037, allocations: 0.7887 MB / 1.116 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.9037, allocations: 8.031 kB / 1.116 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9037, allocations: 4 kB / 1.116 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009762/0.9047, allocations: 0.8067 MB / 1.117 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.9074, allocations: 1.838 MB / 1.119 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.9074, allocations: 0 / 1.119 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.9082, allocations: 182.8 kB / 1.119 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.9082, allocations: 3.719 kB / 1.119 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.9083, allocations: 18.53 kB / 1.119 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.9083, allocations: 3.953 kB / 1.119 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9083, allocations: 0 / 1.119 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.9101, allocations: 1.263 MB / 1.12 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.9106, allocations: 253.3 kB / 1.12 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.9107, allocations: 13.66 kB / 1.12 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/0.9117, allocations: 83.62 kB / 1.12 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.9118, allocations: 53.89 kB / 1.121 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.9119, allocations: 28.06 kB / 1.121 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007047/0.9126, allocations: 453.5 kB / 1.121 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9126, allocations: 0 / 1.121 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001296/0.9139, allocations: 341.2 kB / 1.121 GB, free: 12.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004495/0.9144, allocations: 197 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.9157, allocations: 0.666 MB / 1.122 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.9157, allocations: 0 / 1.122 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.9162, allocations: 368.4 kB / 1.123 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.9188, allocations: 0.5216 MB / 1.123 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.9233, allocations: 2.733 MB / 1.126 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.9245, allocations: 1.091 MB / 1.127 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.9249, allocations: 75.81 kB / 1.127 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.9249, allocations: 0.5312 kB / 1.127 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.02481/0.9497, allocations: 15.26 MB / 1.142 GB, free: 3.16 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)