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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 291.1 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9733/0.9733, allocations: 169.2 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 95.89 kB / 0.5952 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2375, allocations: 86.98 MB / 0.6802 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.003277/0.2408, allocations: 1.23 MB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2423, allocations: 0.7009 MB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.2424, allocations: 0.875 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.2424, allocations: 0 / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2426, allocations: 4 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.243, allocations: 93.81 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.2431, allocations: 15.86 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.2431, allocations: 4.562 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.2432, allocations: 15.98 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.2433, allocations: 4 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2433, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.2438, allocations: 135.8 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2438, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.2438, allocations: 7.938 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.244, allocations: 84.08 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2441, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2441, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2441, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB 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.0005769/0.2447, allocations: 335.5 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2447, allocations: 8.031 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.2448, allocations: 4.938 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.2449, allocations: 160.4 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2449, allocations: 384 / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2449, allocations: 4.125 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2451, allocations: 37.64 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2451, allocations: 0 / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2451, allocations: 7.938 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2451, allocations: 4 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.2451, allocations: 7.984 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.2453, allocations: 153.6 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.2454, allocations: 22.59 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.2455, allocations: 12.86 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.246, allocations: 417.5 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.246, allocations: 34.56 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.246, allocations: 0 / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.2462, allocations: 37.69 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.2462, allocations: 55.41 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.2463, allocations: 93.86 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2463, allocations: 25.7 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2464, allocations: 88.39 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.2464, allocations: 11.83 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.2465, allocations: 13.72 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2466, allocations: 314.8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.2467, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.2467, allocations: 7.938 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.2467, allocations: 12.86 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2467, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.345e-05/0.2468, allocations: 45.69 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2468, allocations: 4 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2468, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2469, allocations: 4 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.2469, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2469, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.2471, allocations: 7.938 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.2471, allocations: 0 / 0.6843 GB, free: 12.23 MB / 494.1 MB 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 9.246e-05/0.2472, allocations: 115.1 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.2472, allocations: 11.95 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2473, allocations: 40.83 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2474, allocations: 4 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2474, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2474, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2476, allocations: 153.6 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2476, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.2477, allocations: 3.938 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2477, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2477, allocations: 4 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2477, allocations: 4.031 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2477, allocations: 0 / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.2479, allocations: 69 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.248, allocations: 77.11 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.248, allocations: 8 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.248, allocations: 4 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.248, allocations: 3.984 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.248, allocations: 8.016 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.2481, allocations: 79.28 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2481, allocations: 0 / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2484, allocations: 20 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB 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.0002641/0.2487, allocations: 127.2 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.2488, allocations: 11.94 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2488, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.2488, allocations: 8.156 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.249, allocations: 4.688 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.2493, allocations: 101.5 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2497, allocations: 0.669 MB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.2497, allocations: 4 kB / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.2497, allocations: 11.42 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2497, allocations: 3.938 kB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of Templates: time 0.003376/0.2531, allocations: 0.7102 MB / 0.6864 GB, free: 9.828 MB / 494.1 MB 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)