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.005161/0.005161, allocations: 101.2 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.001174/0.001174, allocations: 197.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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 282.8 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 97.05 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1722, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002521/0.1747, allocations: 1.451 MB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1762, allocations: 0.8898 MB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.1762, allocations: 0 / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1764, allocations: 7.938 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.1769, allocations: 141.4 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1772, allocations: 107.6 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1773, allocations: 63.81 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.1774, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.1775, allocations: 43.83 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1776, allocations: 47.78 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1776, allocations: 4 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.178, allocations: 235.7 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.1781, allocations: 55.88 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.1781, allocations: 59.55 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.1785, allocations: 279.2 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1785, allocations: 0 / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1785, allocations: 0 / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1785, allocations: 0 / 0.7692 GB, free: 5.551 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.0006831/0.1792, allocations: 0.4984 MB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1793, allocations: 8.031 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1793, allocations: 34.69 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1794, allocations: 16.75 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.1799, allocations: 0.651 MB / 0.7704 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.18, allocations: 8.125 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.18, allocations: 0 / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1801, allocations: 73.66 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1802, allocations: 0 / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1802, allocations: 4 kB / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1802, allocations: 0 / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1804, allocations: 83.92 kB / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.1807, allocations: 313.6 kB / 0.7708 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1809, allocations: 122.4 kB / 0.7709 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.181, allocations: 52.89 kB / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.1811, allocations: 19.97 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1811, allocations: 34.5 kB / 0.771 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1811, allocations: 0 / 0.771 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003897/0.1815, allocations: 169.3 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1816, allocations: 59.41 kB / 0.7713 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.1822, allocations: 0.7703 MB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1822, allocations: 29.7 kB / 0.772 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.1823, allocations: 128.1 kB / 0.7722 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1824, allocations: 7.844 kB / 0.7722 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1824, allocations: 21.7 kB / 0.7722 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1825, allocations: 330.8 kB / 0.7725 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.1826, allocations: 39.97 kB / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1827, allocations: 62.53 kB / 0.7726 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1829, allocations: 85.06 kB / 0.7727 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1829, allocations: 3.938 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000237/0.1832, allocations: 141.3 kB / 0.7728 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1832, allocations: 11.97 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1832, allocations: 4 kB / 0.7728 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1832, allocations: 0 / 0.7728 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.1833, allocations: 11.98 kB / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1833, allocations: 0 / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.1834, allocations: 8 kB / 0.7729 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1834, allocations: 0 / 0.7729 GB, free: 1.543 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 9.171e-05/0.1835, allocations: 138.4 kB / 0.773 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1836, allocations: 19.81 kB / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1838, allocations: 138.8 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1838, allocations: 4 kB / 0.7731 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1839, allocations: 0 / 0.7731 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1839, allocations: 0 / 0.7731 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.184, allocations: 229.5 kB / 0.7734 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.184, allocations: 0 / 0.7734 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.1841, allocations: 11.98 kB / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1841, allocations: 4 kB / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1841, allocations: 4 kB / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1841, allocations: 0 / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1841, allocations: 0 / 0.7734 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1844, allocations: 156.7 kB / 0.7735 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.1845, allocations: 108.8 kB / 0.7736 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1845, allocations: 4 kB / 0.7736 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1846, allocations: 11.94 kB / 0.7736 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1846, allocations: 3.984 kB / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1846, allocations: 0 / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004791/0.1851, allocations: 0.6175 MB / 0.7743 GB, free: 0 / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1851, allocations: 0 / 0.7743 GB, free: 0 / 0.5606 GB Notification: Performance of remove unused functions: time 0.2932/0.4784, allocations: 68.45 kB / 0.7743 GB, free: 15.22 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.0007701/0.4792, allocations: 0.7467 MB / 0.7751 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4795, allocations: 87.02 kB / 0.7751 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4795, allocations: 0 / 0.7751 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4796, allocations: 44.12 kB / 0.7752 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.4799, allocations: 14.66 kB / 0.7752 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.4832, allocations: 3.305 MB / 0.7784 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4833, allocations: 0.7232 MB / 0.7791 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.233e-05/0.4834, allocations: 26.83 kB / 0.7792 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.4835, allocations: 54.55 kB / 0.7792 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.4835, allocations: 1.75 kB / 0.7792 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.5056, allocations: 4.611 MB / 0.7837 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.028, allocations: 13.89 kB / 0.7837 GB, free: 12.4 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)