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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005375/0.005375, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001242/0.001242, allocations: 191.9 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002423/0.002423, allocations: 281.6 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.126/1.126, allocations: 178.5 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 95.84 kB / 0.6943 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3578, allocations: 89.13 MB / 0.7813 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001808/0.3596, allocations: 1.235 MB / 0.7825 GB, free: 216 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3607, allocations: 0.7053 MB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.3607, allocations: 4 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.3607, allocations: 0 / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3609, allocations: 5.172 kB / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3611, allocations: 88.91 kB / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.3612, allocations: 13.09 kB / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.3612, allocations: 5.812 kB / 0.7833 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.3613, allocations: 15.28 kB / 0.7834 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.3614, allocations: 5.781 kB / 0.7834 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.3614, allocations: 0 / 0.7834 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3616, allocations: 134.4 kB / 0.7835 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-06/0.3617, allocations: 0 / 0.7835 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.3617, allocations: 9 kB / 0.7835 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3618, allocations: 85.2 kB / 0.7836 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3619, allocations: 0 / 0.7836 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3619, allocations: 0 / 0.7836 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3619, allocations: 0 / 0.7836 GB, free: 15.44 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.0003583/0.3622, allocations: 335.8 kB / 0.7839 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3623, allocations: 9.531 kB / 0.7839 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.3623, allocations: 36.25 kB / 0.7839 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.74e-05/0.3623, allocations: 0.9375 kB / 0.7839 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3625, allocations: 162 kB / 0.7841 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3625, allocations: 8.109 kB / 0.7841 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.3625, allocations: 1.188 kB / 0.7841 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.3626, allocations: 33.45 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3626, allocations: 0 / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.3626, allocations: 4 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3626, allocations: 9.203 kB / 0.7841 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.3627, allocations: 6.875 kB / 0.7842 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.3628, allocations: 152.4 kB / 0.7843 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.3629, allocations: 28.77 kB / 0.7843 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.3629, allocations: 10.11 kB / 0.7843 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/0.3633, allocations: 417.3 kB / 0.7847 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3634, allocations: 31.88 kB / 0.7848 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3634, allocations: 0 / 0.7848 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.3635, allocations: 43.16 kB / 0.7848 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3636, allocations: 52.62 kB / 0.7849 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.3636, allocations: 92.17 kB / 0.7849 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3636, allocations: 25.7 kB / 0.785 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.3637, allocations: 89.64 kB / 0.7851 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3637, allocations: 5.109 kB / 0.7851 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.3637, allocations: 12.44 kB / 0.7851 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3639, allocations: 314.8 kB / 0.7854 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.3639, allocations: 10.5 kB / 0.7854 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.3639, allocations: 1.406 kB / 0.7854 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.3639, allocations: 9.609 kB / 0.7854 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3639, allocations: 9.344 kB / 0.7854 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.291e-05/0.364, allocations: 38.14 kB / 0.7854 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.364, allocations: 5.062 kB / 0.7854 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.364, allocations: 0 / 0.7854 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3641, allocations: 3.984 kB / 0.7854 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.3641, allocations: 3.844 kB / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3641, allocations: 0 / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.3641, allocations: 9.141 kB / 0.7855 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3641, allocations: 0 / 0.7855 GB, free: 13.29 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 7.3e-05/0.3642, allocations: 123.1 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.3642, allocations: 1.125 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.3643, allocations: 44.94 kB / 0.7856 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3643, allocations: 1.094 kB / 0.7856 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3643, allocations: 0 / 0.7856 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3643, allocations: 0 / 0.7856 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3645, allocations: 156.8 kB / 0.7858 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3645, allocations: 1.219 kB / 0.7858 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.3645, allocations: 6.5 kB / 0.7858 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3645, allocations: 0 / 0.7858 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.3645, allocations: 5.344 kB / 0.7858 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3645, allocations: 0 / 0.7858 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3645, allocations: 0 / 0.7858 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.3646, allocations: 70.38 kB / 0.7859 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3647, allocations: 78.55 kB / 0.7859 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.3647, allocations: 1.188 kB / 0.7859 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.3647, allocations: 0 / 0.7859 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3647, allocations: 5.344 kB / 0.7859 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3647, allocations: 4 kB / 0.7859 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.3648, allocations: 81.94 kB / 0.786 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 0 / 0.786 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002055/0.365, allocations: 23.83 kB / 0.786 GB, free: 12.64 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.0004498/0.3654, allocations: 0.6334 MB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.3655, allocations: 11.06 kB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3655, allocations: 0 / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.3655, allocations: 3.906 kB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.3657, allocations: 5.422 kB / 0.7867 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.366, allocations: 126.1 kB / 0.7868 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3663, allocations: 0.6745 MB / 0.7875 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.3663, allocations: 9.281 kB / 0.7875 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.3663, allocations: 8.688 kB / 0.7875 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.3663, allocations: 0 / 0.7875 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.3873, allocations: 1.537 MB / 0.789 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.77, allocations: 15.81 kB / 0.789 GB, free: 10.31 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)