Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 108 kB / 16.4 MB, free: 6.512 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.002169/0.002169, allocations: 188 kB / 17.34 MB, free: 5.734 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.564/1.564, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 291.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4683, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002604/0.4709, allocations: 1.23 MB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.4721, allocations: 0.7078 MB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.4721, allocations: 0 / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.4722, allocations: 4 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.4723, allocations: 7.938 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.4726, allocations: 91.69 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.4727, allocations: 7.984 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.4727, allocations: 4 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.4728, allocations: 11.88 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.4729, allocations: 11.98 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.4729, allocations: 4 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.4732, allocations: 127.8 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.4732, allocations: 0 / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.4732, allocations: 7.938 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.4734, allocations: 79.61 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4734, allocations: 4 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4734, allocations: 0 / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4734, allocations: 0 / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004321/0.4738, allocations: 337.2 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4738, allocations: 12.03 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.4739, allocations: 0.9375 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4741, allocations: 168.4 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4741, allocations: 384 / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4741, allocations: 3.938 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.4742, allocations: 33.69 kB / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4742, allocations: 0 / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.4742, allocations: 0 / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4742, allocations: 0 / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.4742, allocations: 19.88 kB / 0.7698 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.4745, allocations: 149.7 kB / 0.77 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.4746, allocations: 30.5 kB / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.4746, allocations: 4.859 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.4751, allocations: 413.6 kB / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4751, allocations: 38.56 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4751, allocations: 0 / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002513/0.4754, allocations: 41.64 kB / 0.7705 GB, free: 112 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4754, allocations: 55.34 kB / 0.7705 GB, free: 44 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.4755, allocations: 97.84 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4755, allocations: 29.7 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.4755, allocations: 80.14 kB / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.4756, allocations: 3.953 kB / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4756, allocations: 17.97 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4757, allocations: 314.8 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.4757, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.4757, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.4758, allocations: 12.84 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4758, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.749e-05/0.4758, allocations: 49.58 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4759, allocations: 4.094 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4759, allocations: 4 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4759, allocations: 3.984 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.4759, allocations: 4 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4759, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.4759, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.476, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.476, allocations: 120.2 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.476, allocations: 3.953 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.022e-05/0.4761, allocations: 48.77 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4761, allocations: 0 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4761, allocations: 3.984 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4761, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.4763, allocations: 157.6 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4763, allocations: 0 / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.4764, allocations: 4 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4764, allocations: 3.938 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4764, allocations: 3.984 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4764, allocations: 0 / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4764, allocations: 0 / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.334e-05/0.4765, allocations: 69.11 kB / 0.7715 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.4765, allocations: 77.11 kB / 0.7716 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4765, allocations: 3.984 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.4765, allocations: 0 / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.4765, allocations: 7.938 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4766, allocations: 7.938 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.4766, allocations: 83.31 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4766, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002366/0.4768, allocations: 19.94 kB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002119/0.477, allocations: 130.2 kB / 0.7718 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.4771, allocations: 8 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4771, allocations: 0 / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.4771, allocations: 8 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.4773, allocations: 10.84 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.4776, allocations: 105.5 kB / 0.772 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4779, allocations: 0.6768 MB / 0.7726 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.4779, allocations: 0 / 0.7726 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.4779, allocations: 7.438 kB / 0.7726 GB, free: 13.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4779, allocations: 0 / 0.7726 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.003199/0.4811, allocations: 0.7096 MB / 0.7733 GB, free: 12.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)