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.001918/0.001918, allocations: 106.9 kB / 16.37 MB, free: 6.473 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.001959/0.001959, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.702/1.702, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002752/0.002752, allocations: 270.9 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.245/1.245, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001967, allocations: 95.08 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.004689/0.3244, allocations: 1.224 MB / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3264, allocations: 0.7099 MB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.3264, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.3265, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.3268, allocations: 7.922 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.3272, allocations: 87.7 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.3273, allocations: 11.98 kB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.3274, allocations: 4 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3275, allocations: 11.98 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.3276, allocations: 3.938 kB / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3276, allocations: 3.938 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.3279, allocations: 131.8 kB / 0.6838 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.328, allocations: 3.984 kB / 0.6838 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.328, allocations: 7.984 kB / 0.6838 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3282, allocations: 79.77 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3282, allocations: 0 / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.3282, allocations: 4 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3283, allocations: 0 / 0.6838 GB, free: 5.172 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.0005477/0.3288, allocations: 327.6 kB / 0.6842 GB, free: 4.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.3289, allocations: 15.97 kB / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3289, allocations: 0.9375 kB / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3291, allocations: 164.4 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3291, allocations: 384 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3291, allocations: 8.125 kB / 0.6843 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3293, allocations: 29.7 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3293, allocations: 4 kB / 0.6844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3293, allocations: 4 kB / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3293, allocations: 0 / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.3294, allocations: 4 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.3296, allocations: 149.7 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.3297, allocations: 26.55 kB / 0.6845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.3297, allocations: 8.797 kB / 0.6846 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/0.3303, allocations: 417.6 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3304, allocations: 34.56 kB / 0.685 GB, free: 3.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3304, allocations: 0 / 0.685 GB, free: 3.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.3306, allocations: 45.59 kB / 0.685 GB, free: 3.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3307, allocations: 55.34 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3308, allocations: 102 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3308, allocations: 25.7 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.3308, allocations: 80.14 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.3309, allocations: 7.844 kB / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3309, allocations: 17.72 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3311, allocations: 314.8 kB / 0.6856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.3311, allocations: 3.938 kB / 0.6856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.3311, allocations: 4 kB / 0.6856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.3312, allocations: 17.05 kB / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3312, allocations: 0 / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.415e-05/0.3313, allocations: 41.58 kB / 0.6857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3313, allocations: 11.98 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3313, allocations: 0 / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3313, allocations: 0 / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.3314, allocations: 7.938 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3314, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.3314, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3314, allocations: 4.031 kB / 0.6857 GB, free: 2.965 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.125e-05/0.3315, allocations: 113.8 kB / 0.6858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.3315, allocations: 3.938 kB / 0.6858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.3316, allocations: 44.81 kB / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3317, allocations: 0 / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3317, allocations: 0 / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3317, allocations: 0 / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.3318, allocations: 157.6 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3318, allocations: 0 / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.3319, allocations: 11.97 kB / 0.686 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3319, allocations: 0 / 0.686 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3319, allocations: 0 / 0.686 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3319, allocations: 4 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3319, allocations: 0 / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.332, allocations: 69.06 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3321, allocations: 77.11 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3321, allocations: 0 / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.3321, allocations: 8.031 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.3321, allocations: 0 / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3321, allocations: 4 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.3322, allocations: 75.28 kB / 0.6862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3322, allocations: 0 / 0.6862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3325, allocations: 23.98 kB / 0.6863 GB, free: 2.281 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.0002576/0.3327, allocations: 130.2 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3328, allocations: 20.08 kB / 0.6864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3329, allocations: 0 / 0.6864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.3329, allocations: 4 kB / 0.6864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.333, allocations: 5.062 kB / 0.6864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.3334, allocations: 105.5 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3337, allocations: 0.6729 MB / 0.6872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.3337, allocations: 7.922 kB / 0.6872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.3338, allocations: 7.438 kB / 0.6872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of SimCode: time 2.265e-06/0.3338, allocations: 4.125 kB / 0.6872 GB, free: 1.27 MB / 494.1 MB Notification: Performance of Templates: time 0.003894/0.3377, allocations: 0.7129 MB / 0.6879 GB, free: 0.5664 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)