Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.005618/0.005618, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001542/0.001542, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9692/0.9692, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 100.6 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1696, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002497/0.1721, allocations: 1.442 MB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1736, allocations: 0.8934 MB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1736, allocations: 0 / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1738, allocations: 11.92 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.1743, allocations: 138.5 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1745, allocations: 99.97 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1746, allocations: 63.83 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.1747, allocations: 7.938 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.1748, allocations: 39.89 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1749, allocations: 47.83 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1749, allocations: 4 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1753, allocations: 235.6 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1753, allocations: 55.86 kB / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.1754, allocations: 55.55 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1758, allocations: 279 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1758, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1758, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1758, allocations: 0 / 0.7692 GB, free: 5.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006876/0.1765, allocations: 0.5058 MB / 0.7697 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1765, allocations: 12.02 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1766, allocations: 38.75 kB / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1766, allocations: 16.84 kB / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.1772, allocations: 0.6551 MB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1772, allocations: 4.125 kB / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1773, allocations: 4 kB / 0.7704 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1774, allocations: 69.66 kB / 0.7705 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1774, allocations: 4 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1774, allocations: 3.984 kB / 0.7705 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1775, allocations: 4 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.1777, allocations: 75.94 kB / 0.7705 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.178, allocations: 321.6 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.1782, allocations: 126.4 kB / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1783, allocations: 48.89 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.1784, allocations: 19.97 kB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1784, allocations: 34.5 kB / 0.7711 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1784, allocations: 0 / 0.7711 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003823/0.1788, allocations: 165.5 kB / 0.7712 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1788, allocations: 63.34 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.1795, allocations: 0.7703 MB / 0.772 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1796, allocations: 25.7 kB / 0.7721 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1796, allocations: 128.1 kB / 0.7722 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1797, allocations: 15.83 kB / 0.7722 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1797, allocations: 21.7 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1799, allocations: 330.8 kB / 0.7725 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.18, allocations: 43.97 kB / 0.7726 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1801, allocations: 58.53 kB / 0.7726 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1803, allocations: 88.8 kB / 0.7727 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1803, allocations: 3.938 kB / 0.7727 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002377/0.1805, allocations: 133.5 kB / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1805, allocations: 4 kB / 0.7728 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1805, allocations: 0 / 0.7728 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1806, allocations: 4 kB / 0.7728 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.1806, allocations: 7.984 kB / 0.7729 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1806, allocations: 4 kB / 0.7729 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.1807, allocations: 4 kB / 0.7729 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1807, allocations: 4 kB / 0.7729 GB, free: 1.523 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 (3): * Single equations (assignments): 3 * 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 0.0001028/0.1809, allocations: 138.4 kB / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1809, allocations: 19.86 kB / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1812, allocations: 142.8 kB / 0.7732 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1812, allocations: 0 / 0.7732 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1812, allocations: 0 / 0.7732 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1812, allocations: 384 / 0.7732 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1814, allocations: 229.5 kB / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1814, allocations: 0 / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.1814, allocations: 15.98 kB / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1814, allocations: 0 / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1815, allocations: 4 kB / 0.7734 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1815, allocations: 4 kB / 0.7734 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1815, allocations: 7.969 kB / 0.7734 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1817, allocations: 156.9 kB / 0.7736 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1818, allocations: 108.9 kB / 0.7737 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1819, allocations: 8 kB / 0.7737 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1819, allocations: 4 kB / 0.7737 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.182, allocations: 3.984 kB / 0.7737 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.182, allocations: 4 kB / 0.7737 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2569/0.4389, allocations: 0.6163 MB / 0.7743 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4389, allocations: 0.5625 kB / 0.7743 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000449/0.4393, allocations: 74.91 kB / 0.7744 GB, free: 15.15 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 (3): * Single equations (assignments): 3 * 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.0006519/0.44, allocations: 0.7465 MB / 0.7751 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.4403, allocations: 87.27 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4403, allocations: 3.188 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.4404, allocations: 43.59 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4407, allocations: 15.52 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.4436, allocations: 3.314 MB / 0.7785 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4437, allocations: 0.7227 MB / 0.7792 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.4438, allocations: 24.83 kB / 0.7792 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.4438, allocations: 56.52 kB / 0.7792 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.4438, allocations: 0 / 0.7792 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/1.57, allocations: 4.608 MB / 0.7837 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.2, allocations: 6.75 kB / 0.7837 GB, free: 12.33 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)