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.001264/0.001264, allocations: 107.1 kB / 16.41 MB, free: 6.492 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.001225/0.001225, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 296.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9926/0.9926, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.00206, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4302, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002716/0.433, allocations: 1.233 MB / 0.7682 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4342, allocations: 0.7156 MB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.4342, allocations: 3.938 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.4342, allocations: 3.938 kB / 0.769 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.4344, allocations: 0 / 0.769 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.4347, allocations: 87.69 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.4347, allocations: 15.92 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.4348, allocations: 12 kB / 0.7691 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.4349, allocations: 7.938 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.4349, allocations: 0 / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.4349, allocations: 0 / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.4352, allocations: 143.8 kB / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.4353, allocations: 0 / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.4353, allocations: 3.938 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.4355, allocations: 79.55 kB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4355, allocations: 3.984 kB / 0.7693 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4355, allocations: 0 / 0.7693 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4355, allocations: 4 kB / 0.7693 GB, free: 1.66 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.0003954/0.4359, allocations: 319.6 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.436, allocations: 16.02 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.436, allocations: 4.844 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4361, allocations: 160.4 kB / 0.7698 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4362, allocations: 4.375 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.4362, allocations: 11.94 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.4363, allocations: 29.64 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4363, allocations: 4 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4363, allocations: 4 kB / 0.7698 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4363, allocations: 0 / 0.7698 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.4364, allocations: 7.984 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.4366, allocations: 149.7 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.4366, allocations: 26.55 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.4366, allocations: 12.84 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.4371, allocations: 417.5 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4371, allocations: 34.5 kB / 0.7704 GB, free: 236 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.4371, allocations: 0 / 0.7704 GB, free: 236 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.4373, allocations: 45.69 kB / 0.7705 GB, free: 184 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4373, allocations: 51.41 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.4374, allocations: 93.86 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4374, allocations: 29.95 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.4375, allocations: 80.14 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4375, allocations: 14.42 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.4376, allocations: 13.72 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4377, allocations: 310.8 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.4377, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.4377, allocations: 7.938 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.4377, allocations: 16.86 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4377, allocations: 4 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.718e-05/0.4378, allocations: 45.62 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4378, allocations: 8 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4378, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4379, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.4379, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4379, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.4379, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.438, allocations: 0 / 0.7711 GB, free: 15.46 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 6.823e-05/0.438, allocations: 120.2 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.438, allocations: 0 / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.4381, allocations: 48.75 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4381, allocations: 3.984 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4382, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4382, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.4383, allocations: 157.6 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4383, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.4383, allocations: 4 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4383, allocations: 4.031 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.4384, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4384, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4384, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.4385, allocations: 80.84 kB / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.4385, allocations: 77.11 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4385, allocations: 4 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.4385, allocations: 0 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.4385, allocations: 8.016 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4386, allocations: 4 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.4386, allocations: 75.28 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4386, allocations: 0 / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002362/0.4388, allocations: 23.94 kB / 0.7717 GB, free: 14.77 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.0002006/0.439, allocations: 127.2 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.4391, allocations: 8 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4391, allocations: 4.156 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.4392, allocations: 7.938 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4393, allocations: 14.53 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.4395, allocations: 111.3 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4398, allocations: 0.6729 MB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.4398, allocations: 11.44 kB / 0.7726 GB, free: 13.74 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4398, allocations: 0 / 0.7726 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Templates: time 0.002034/0.4418, allocations: 0.6968 MB / 0.7733 GB, free: 13.05 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)