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.0008978/0.0008978, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005424/0.005424, allocations: 169 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 271.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9695/0.9695, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 20.88 kB / 0.5988 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001364/0.1605, allocations: 0.9616 MB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1617, allocations: 0.7019 MB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.1617, allocations: 2.531 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.1617, allocations: 0 / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1619, allocations: 7.984 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1621, allocations: 79.72 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.1622, allocations: 5.219 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1622, allocations: 0 / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.1623, allocations: 11.92 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.1623, allocations: 13.3 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.1624, allocations: 0 / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1626, allocations: 123.8 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.1626, allocations: 10.06 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1627, allocations: 33.69 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1628, allocations: 80.09 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1628, allocations: 0 / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1628, allocations: 0 / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1628, allocations: 0 / 0.6872 GB, free: 12.92 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.0003002/0.1631, allocations: 334.7 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1632, allocations: 12.03 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.1632, allocations: 34.31 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.1633, allocations: 0.9375 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.1634, allocations: 160.4 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1634, allocations: 384 / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1634, allocations: 7.938 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.1635, allocations: 29.69 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.1635, allocations: 0 / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1635, allocations: 4 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1635, allocations: 0.75 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.1635, allocations: 7.938 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1637, allocations: 154.2 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.1637, allocations: 32.02 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1638, allocations: 8.797 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/0.1642, allocations: 420.1 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1642, allocations: 30.56 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1643, allocations: 4 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.1644, allocations: 45.64 kB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1644, allocations: 51.41 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.1645, allocations: 97.84 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1645, allocations: 29.7 kB / 0.6886 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.1646, allocations: 80.14 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1646, allocations: 7.844 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.1646, allocations: 9.719 kB / 0.6887 GB, free: 11.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1647, allocations: 315.1 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.1648, allocations: 8 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.1648, allocations: 0 / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.1648, allocations: 20.78 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1648, allocations: 0 / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.103e-05/0.1649, allocations: 41.64 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1649, allocations: 4 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1649, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1649, allocations: 4.094 kB / 0.6891 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.165, allocations: 11.94 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.165, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.165, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.165, allocations: 7.984 kB / 0.6891 GB, free: 10.67 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 6.678e-05/0.1651, allocations: 111.1 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.1651, allocations: 0 / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.1652, allocations: 48.75 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1652, allocations: 4.031 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1652, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1652, allocations: 3.984 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.1653, allocations: 153.6 kB / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1653, allocations: 0 / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1654, allocations: 7.984 kB / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1654, allocations: 0 / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.1654, allocations: 0 / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1654, allocations: 0 / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1654, allocations: 4 kB / 0.6894 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.317e-05/0.1655, allocations: 72.95 kB / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1655, allocations: 81.09 kB / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1655, allocations: 0 / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.1655, allocations: 0 / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1656, allocations: 4 kB / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1656, allocations: 0 / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.1656, allocations: 75.28 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1656, allocations: 128 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1658, allocations: 32 kB / 0.6897 GB, free: 9.984 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.0004188/0.1663, allocations: 0.6318 MB / 0.6903 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.181e-05/0.1663, allocations: 15.94 kB / 0.6903 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1663, allocations: 96 / 0.6903 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.1663, allocations: 8 kB / 0.6903 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1665, allocations: 4.688 kB / 0.6903 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1668, allocations: 136.7 kB / 0.6904 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.167, allocations: 0.6731 MB / 0.6911 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.1671, allocations: 3.984 kB / 0.6911 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.1671, allocations: 7.438 kB / 0.6911 GB, free: 8.414 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1671, allocations: 4 kB / 0.6911 GB, free: 8.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.1774, allocations: 1.345 MB / 0.6924 GB, free: 7.246 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.1776, allocations: 230.4 kB / 0.6926 GB, free: 6.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.858, allocations: 0 / 0.6926 GB, free: 6.996 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)