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.006617/0.006617, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001209/0.00121, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 275 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2357, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002815/0.2386, allocations: 1.232 MB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.24, allocations: 0.706 MB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.2401, allocations: 0 / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.2401, allocations: 0 / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.2403, allocations: 7.938 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.2407, allocations: 91.69 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.889e-05/0.2407, allocations: 11.98 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.2408, allocations: 3.938 kB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.774e-05/0.2409, allocations: 11.98 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.241, allocations: 7.938 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.241, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.2413, allocations: 131.8 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.2413, allocations: 4 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.2413, allocations: 7.922 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.2415, allocations: 83.81 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.2415, allocations: 4 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2415, allocations: 3.938 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2416, allocations: 0 / 0.7686 GB, free: 6.141 MB / 0.5606 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.0004759/0.242, allocations: 327.5 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.2421, allocations: 8.031 kB / 0.7689 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.2422, allocations: 4.938 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2423, allocations: 160.4 kB / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2423, allocations: 8.312 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2423, allocations: 7.938 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2425, allocations: 30.22 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2425, allocations: 0 / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2425, allocations: 0 / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2425, allocations: 0 / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.2425, allocations: 7.984 kB / 0.7692 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2427, allocations: 149.7 kB / 0.7693 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.2428, allocations: 30.47 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2428, allocations: 20.91 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.2434, allocations: 409.5 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.2434, allocations: 38.48 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2434, allocations: 0 / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000222/0.2437, allocations: 41.64 kB / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2437, allocations: 55.53 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2439, allocations: 93.86 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2439, allocations: 25.7 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.244, allocations: 84.12 kB / 0.7701 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.244, allocations: 15.84 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2441, allocations: 9.719 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2443, allocations: 314.8 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.2443, allocations: 0 / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.2443, allocations: 8.125 kB / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.139e-05/0.2444, allocations: 12.86 kB / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2444, allocations: 0 / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.108e-05/0.2444, allocations: 49.56 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2445, allocations: 4 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2445, allocations: 3.984 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.2445, allocations: 4 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.2446, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2446, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.2446, allocations: 8.094 kB / 0.7705 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2447, allocations: 0 / 0.7705 GB, free: 3.934 MB / 0.5606 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 0.0001058/0.2448, allocations: 110.4 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2448, allocations: 7.891 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2449, allocations: 40.83 kB / 0.7706 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2449, allocations: 11.94 kB / 0.7706 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.245, allocations: 3.938 kB / 0.7706 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.245, allocations: 0 / 0.7706 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.2451, allocations: 157.6 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2451, allocations: 4 kB / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.2452, allocations: 0 / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2452, allocations: 0 / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2452, allocations: 4 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.2452, allocations: 0 / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2452, allocations: 3.984 kB / 0.7708 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.2453, allocations: 61.08 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.2453, allocations: 81.14 kB / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2454, allocations: 7.938 kB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.625e-05/0.2454, allocations: 3.984 kB / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2454, allocations: 0 / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2454, allocations: 0 / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.2455, allocations: 79.28 kB / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.924e-06/0.2455, allocations: 0 / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002518/0.2457, allocations: 23.94 kB / 0.771 GB, free: 3.246 MB / 0.5606 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.0002837/0.246, allocations: 135.3 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.2462, allocations: 4 kB / 0.7712 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2462, allocations: 0 / 0.7712 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.2462, allocations: 4 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.2464, allocations: 13.97 kB / 0.7712 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.2468, allocations: 89.55 kB / 0.7713 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2471, allocations: 0.6729 MB / 0.7719 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.2472, allocations: 16.05 kB / 0.7719 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.2472, allocations: 7.438 kB / 0.772 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2472, allocations: 0 / 0.772 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of Templates: time 0.003862/0.2511, allocations: 0.7179 MB / 0.7727 GB, free: 1.535 MB / 0.5606 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)