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.005746/0.005746, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001298/0.001298, allocations: 197.5 kB / 16.68 MB, free: 5.93 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 278.9 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9475/0.9475, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 91.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1643, allocations: 86.98 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002265/0.1666, allocations: 1.228 MB / 0.7671 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1679, allocations: 0.7021 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1679, allocations: 0 / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.168, allocations: 4 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1681, allocations: 3.938 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1685, allocations: 95.69 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.1686, allocations: 4 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1686, allocations: 7.922 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.1687, allocations: 15.94 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.1688, allocations: 0 / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1688, allocations: 4 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1691, allocations: 131.8 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1691, allocations: 3.984 kB / 0.768 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1691, allocations: 11.94 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1693, allocations: 76.05 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1694, allocations: 3.938 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1694, allocations: 0 / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1694, allocations: 4 kB / 0.7681 GB, free: 6.602 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.000404/0.1698, allocations: 331.5 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1698, allocations: 12.03 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1699, allocations: 30.75 kB / 0.7685 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1699, allocations: 4.922 kB / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1701, allocations: 172.3 kB / 0.7687 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1701, allocations: 4.125 kB / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1701, allocations: 0 / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1702, allocations: 34.22 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1702, allocations: 0 / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1702, allocations: 0 / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1702, allocations: 0 / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.1703, allocations: 15.92 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1704, allocations: 149.7 kB / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.1705, allocations: 22.52 kB / 0.7689 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.1705, allocations: 12.91 kB / 0.7689 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.171, allocations: 413.5 kB / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1711, allocations: 34.56 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1711, allocations: 0 / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.1712, allocations: 41.62 kB / 0.7694 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1712, allocations: 55.41 kB / 0.7694 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.1713, allocations: 93.86 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1714, allocations: 25.7 kB / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.1714, allocations: 80.14 kB / 0.7696 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1714, allocations: 20.08 kB / 0.7696 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1715, allocations: 13.72 kB / 0.7696 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1716, allocations: 310.8 kB / 0.7699 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.1716, allocations: 4 kB / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.1716, allocations: 0 / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.1717, allocations: 16.86 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1717, allocations: 3.938 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.083e-05/0.1717, allocations: 41.69 kB / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1718, allocations: 8.031 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1718, allocations: 0 / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1718, allocations: 4 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.1718, allocations: 4 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1719, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.1719, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1719, allocations: 8 kB / 0.77 GB, free: 4.352 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.107e-05/0.172, allocations: 110.4 kB / 0.7701 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.172, allocations: 7.844 kB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.1721, allocations: 56.69 kB / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1721, allocations: 3.984 kB / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1721, allocations: 0 / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1721, allocations: 4 kB / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1722, allocations: 149.6 kB / 0.7703 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1722, allocations: 0 / 0.7703 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.1722, allocations: 4 kB / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1723, allocations: 0 / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1723, allocations: 0 / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1723, allocations: 4 kB / 0.7703 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1723, allocations: 4.031 kB / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.1724, allocations: 69.06 kB / 0.7704 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.1724, allocations: 77.11 kB / 0.7705 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.1724, allocations: 3.938 kB / 0.7705 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.1725, allocations: 0 / 0.7705 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.1725, allocations: 7.984 kB / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1725, allocations: 0 / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.1725, allocations: 79.31 kB / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1725, allocations: 0 / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002428/0.1728, allocations: 24 kB / 0.7706 GB, free: 3.66 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.0004595/0.1732, allocations: 0.6241 MB / 0.7712 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.1733, allocations: 20.05 kB / 0.7712 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1733, allocations: 0 / 0.7712 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.1733, allocations: 4 kB / 0.7712 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1735, allocations: 4 kB / 0.7712 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.1739, allocations: 131.2 kB / 0.7714 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1742, allocations: 0.6729 MB / 0.772 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.1742, allocations: 7.922 kB / 0.772 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1742, allocations: 11.56 kB / 0.772 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1743, allocations: 0 / 0.772 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.1924, allocations: 1.542 MB / 0.7735 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.566, allocations: 15.83 kB / 0.7736 GB, free: 0.6875 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 & /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)