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.001264/0.001264, allocations: 108.6 kB / 15.73 MB, free: 76 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.001227/0.001227, allocations: 190.5 kB / 16.66 MB, free: 6.59 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.967/0.967, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 92.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1685, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002315/0.1709, allocations: 1.228 MB / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.172, allocations: 0.706 MB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1721, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1721, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1722, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1725, allocations: 99.62 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.1726, allocations: 11.98 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.1726, allocations: 7.922 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.1727, allocations: 4 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.1728, allocations: 0 / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1728, allocations: 4 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.173, allocations: 135.8 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1731, allocations: 7.984 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1731, allocations: 7.938 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1732, allocations: 76.09 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1733, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1733, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1733, allocations: 0 / 0.7681 GB, free: 6.633 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.0003657/0.1736, allocations: 343.3 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1737, allocations: 8.031 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.1737, allocations: 34.69 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.1738, allocations: 0.9375 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1739, allocations: 172.3 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1739, allocations: 4.125 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-06/0.1739, allocations: 0 / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.174, allocations: 34.2 kB / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.174, allocations: 0 / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.174, allocations: 0 / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.174, allocations: 0 / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.1741, allocations: 8 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1742, allocations: 153.7 kB / 0.7689 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.1743, allocations: 34.44 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.1743, allocations: 12.92 kB / 0.7689 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.1748, allocations: 413.5 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1748, allocations: 30.56 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1748, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000121/0.1749, allocations: 41.7 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.175, allocations: 55.34 kB / 0.7694 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.175, allocations: 101.8 kB / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1751, allocations: 25.7 kB / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.1751, allocations: 80.14 kB / 0.7696 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1751, allocations: 7.953 kB / 0.7696 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1752, allocations: 9.719 kB / 0.7696 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1753, allocations: 319.1 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.1753, allocations: 4 kB / 0.7699 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.1753, allocations: 0 / 0.7699 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.1754, allocations: 16.84 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1754, allocations: 3.938 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.03e-05/0.1754, allocations: 41.64 kB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1755, allocations: 4 kB / 0.77 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1755, allocations: 0 / 0.77 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1755, allocations: 4.094 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.1755, allocations: 4 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1755, allocations: 0 / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.1756, allocations: 0 / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1756, allocations: 4 kB / 0.77 GB, free: 4.379 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.448e-05/0.1756, allocations: 114.4 kB / 0.7701 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1757, allocations: 7.938 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.1758, allocations: 48.7 kB / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1758, allocations: 4.031 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.1758, allocations: 3.984 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1758, allocations: 4 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1759, allocations: 153.6 kB / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1759, allocations: 0 / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.1759, allocations: 7.938 kB / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1759, allocations: 0 / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1759, allocations: 3.984 kB / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1759, allocations: 0 / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.176, allocations: 4 kB / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.609e-05/0.176, allocations: 65.08 kB / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.1761, allocations: 77.11 kB / 0.7705 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1761, allocations: 3.984 kB / 0.7705 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.1761, allocations: 0 / 0.7705 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.1761, allocations: 4 kB / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.1761, allocations: 0 / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.1762, allocations: 79.28 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1762, allocations: 4.125 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002815/0.1765, allocations: 27.88 kB / 0.7706 GB, free: 3.68 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.0004685/0.177, allocations: 0.624 MB / 0.7712 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.177, allocations: 12 kB / 0.7712 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.177, allocations: 4.094 kB / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.1771, allocations: 7.938 kB / 0.7712 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.1772, allocations: 0 / 0.7712 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.1776, allocations: 135 kB / 0.7714 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1778, allocations: 0.6768 MB / 0.772 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.1779, allocations: 0 / 0.772 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.1779, allocations: 11.44 kB / 0.772 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1779, allocations: 3.938 kB / 0.772 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8378/1.016, allocations: 1.542 MB / 0.7735 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.93, allocations: 20.55 kB / 0.7736 GB, free: 0.6953 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)