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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8226/0.8226, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 177 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 447.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 88.31 kB / 0.5187 GB, free: 1.102 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 271.8 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 15.19 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.623, allocations: 109.7 MB / 0.8809 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.6233, allocations: 86.22 kB / 0.881 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007209/0.6305, allocations: 2.049 MB / 0.883 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6305, allocations: 0 / 0.883 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.6306, allocations: 4 kB / 0.883 GB, free: 107.9 MB / 0.5417 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.0002549/0.6308, allocations: 344.9 kB / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6309, allocations: 9.312 kB / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.6309, allocations: 30.56 kB / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.6309, allocations: 2.438 kB / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.631, allocations: 166.8 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.631, allocations: 0 / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.631, allocations: 3.234 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.6311, allocations: 32.45 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6312, allocations: 2.844 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.6312, allocations: 3.625 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.6312, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.6312, allocations: 10.09 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.6313, allocations: 151 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.6314, allocations: 26.75 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.6317, allocations: 410.6 kB / 0.8842 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.6317, allocations: 33.06 kB / 0.8842 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6317, allocations: 2.078 kB / 0.8842 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.6319, allocations: 45.78 kB / 0.8842 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.6319, allocations: 55.34 kB / 0.8843 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.063e-05/0.6319, allocations: 91.44 kB / 0.8844 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.632, allocations: 29.95 kB / 0.8844 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.632, allocations: 80.14 kB / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.632, allocations: 3.906 kB / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.632, allocations: 0 / 0.8845 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.6321, allocations: 320.5 kB / 0.8848 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.6321, allocations: 2.438 kB / 0.8848 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.6321, allocations: 0 / 0.8848 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.517e-05/0.6321, allocations: 2.906 kB / 0.8848 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6321, allocations: 64 / 0.8848 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.982e-05/0.6322, allocations: 56.22 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6322, allocations: 2.625 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6322, allocations: 3.375 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6322, allocations: 2.5 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.6323, allocations: 2.875 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6323, allocations: 0 / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.6323, allocations: 3.938 kB / 0.8849 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.6323, allocations: 0 / 0.8849 GB, free: 105.8 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.6324, allocations: 112.8 kB / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.6324, allocations: 3.953 kB / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.6325, allocations: 45.27 kB / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6325, allocations: 3.938 kB / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6325, allocations: 0 / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6325, allocations: 0 / 0.885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.841e-05/0.6326, allocations: 156.4 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6326, allocations: 0.8125 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.6326, allocations: 3.031 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6326, allocations: 2.969 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.6326, allocations: 11.22 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6326, allocations: 0 / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6326, allocations: 0.5 kB / 0.8852 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.67e-05/0.6327, allocations: 59.84 kB / 0.8853 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.6327, allocations: 80.48 kB / 0.8853 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.6327, allocations: 3 kB / 0.8853 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.6327, allocations: 8.328 kB / 0.8853 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.6328, allocations: 4.031 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.6328, allocations: 6.875 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.719e-05/0.6328, allocations: 75.28 kB / 0.8854 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6328, allocations: 3.938 kB / 0.8854 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002276/0.633, allocations: 25.03 kB / 0.8855 GB, free: 105.2 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003222/0.6334, allocations: 0.6346 MB / 0.8861 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.978e-05/0.6334, allocations: 9.109 kB / 0.8861 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6334, allocations: 0 / 0.8861 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.6334, allocations: 8.688 kB / 0.8861 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.47e-05/0.6335, allocations: 7.688 kB / 0.8861 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.6339, allocations: 138.9 kB / 0.8862 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.634, allocations: 0.6803 MB / 0.8869 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.634, allocations: 2.688 kB / 0.8869 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.634, allocations: 10.25 kB / 0.8869 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.634, allocations: 0 / 0.8869 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.6457, allocations: 1.282 MB / 0.8882 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.6458, allocations: 211 kB / 0.8884 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.117, allocations: 0 / 0.8884 GB, free: 103.4 MB / 0.5417 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/linux/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)