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.009488/0.009489, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00203/0.00203, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 278.7 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9941/0.9941, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 95.84 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002397/0.1736, allocations: 1.228 MB / 0.7671 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1749, allocations: 0.7021 MB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.1749, allocations: 4 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1749, allocations: 0 / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1751, allocations: 3.938 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1755, allocations: 91.69 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.1755, allocations: 11.94 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.1756, allocations: 7.969 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.1757, allocations: 12 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.1757, allocations: 7.938 kB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1757, allocations: 0 / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.176, allocations: 127.8 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.176, allocations: 0 / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1761, allocations: 15.91 kB / 0.7681 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1763, allocations: 76.11 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1763, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.116e-06/0.1763, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1763, allocations: 3.938 kB / 0.7681 GB, free: 6.656 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.0003875/0.1767, allocations: 335.5 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1767, allocations: 12.03 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.1768, allocations: 34.69 kB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.1768, allocations: 4.875 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1769, allocations: 164.4 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.177, allocations: 8.125 kB / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.177, allocations: 0 / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.987e-05/0.1771, allocations: 34.22 kB / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1771, allocations: 0 / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1771, allocations: 4 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1771, allocations: 0 / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.1772, allocations: 7.938 kB / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1773, allocations: 149.7 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.1774, allocations: 30.53 kB / 0.7689 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.1774, allocations: 4.859 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.1779, allocations: 421.6 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1779, allocations: 34.56 kB / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1779, allocations: 0 / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001466/0.1781, allocations: 41.62 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1781, allocations: 55.41 kB / 0.7694 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.1782, allocations: 93.86 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1782, allocations: 25.7 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1782, allocations: 84.39 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1783, allocations: 7.844 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1783, allocations: 21.7 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1784, allocations: 310.8 kB / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.1785, allocations: 4 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.1785, allocations: 0 / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.1785, allocations: 12.86 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.1785, allocations: 12 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.436e-05/0.1786, allocations: 41.62 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1786, allocations: 4 kB / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1786, allocations: 0 / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1787, allocations: 0 / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.1787, allocations: 4 kB / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1787, allocations: 4 kB / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.1788, allocations: 0 / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1788, allocations: 0 / 0.77 GB, free: 4.406 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.629e-05/0.1788, allocations: 122.5 kB / 0.7701 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.1789, allocations: 7.844 kB / 0.7701 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-05/0.179, allocations: 52.69 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.179, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.179, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.179, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1791, allocations: 153.6 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1791, allocations: 0 / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.1791, allocations: 4 kB / 0.7703 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1791, allocations: 0 / 0.7703 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1792, allocations: 4.031 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1792, allocations: 0 / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1792, allocations: 0 / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.267e-05/0.1793, allocations: 73.06 kB / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.1793, allocations: 77.11 kB / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.1793, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1793, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1794, allocations: 4 kB / 0.7705 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1794, allocations: 4.031 kB / 0.7705 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.1794, allocations: 83.2 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.1794, allocations: 0 / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002376/0.1796, allocations: 20 kB / 0.7706 GB, free: 3.715 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.0004881/0.1801, allocations: 0.6359 MB / 0.7712 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.1802, allocations: 7.984 kB / 0.7712 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1802, allocations: 4 kB / 0.7712 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.1803, allocations: 7.938 kB / 0.7712 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1804, allocations: 4 kB / 0.7712 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.1808, allocations: 131.2 kB / 0.7714 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1811, allocations: 0.669 MB / 0.772 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.1811, allocations: 8.125 kB / 0.772 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.1811, allocations: 11.42 kB / 0.772 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of SimCode: time 1.894e-06/0.1812, allocations: 0 / 0.772 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.2011, allocations: 1.552 MB / 0.7736 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.839, allocations: 12.56 kB / 0.7736 GB, free: 0.7266 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)