Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.814/0.814, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001094/0.001094, allocations: 176.4 kB / 191.5 MB, free: 5.754 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.626/1.626, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.001093/0.001093, allocations: 92.27 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 267 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004453, allocations: 12.94 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.3499, allocations: 108.4 MB / 0.8796 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.3503, allocations: 75.95 kB / 0.8797 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002298/0.3526, allocations: 0.8518 MB / 0.8805 GB, free: 316 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3526, allocations: 0 / 0.8805 GB, free: 316 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3526, allocations: 0 / 0.8805 GB, free: 316 kB / 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.3753/0.7279, allocations: 328.5 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.619e-05/0.728, allocations: 8.969 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.7281, allocations: 31.17 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.7281, allocations: 2.75 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.7283, allocations: 166.9 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.7283, allocations: 5.078 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.7284, allocations: 1.594 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.7285, allocations: 37.12 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7285, allocations: 0.5312 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7285, allocations: 0.7031 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7285, allocations: 0.5938 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.7286, allocations: 5.141 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.7288, allocations: 154.6 kB / 0.8812 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.7289, allocations: 32.75 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/0.7297, allocations: 0.6012 MB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.7297, allocations: 35.3 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.7297, allocations: 0 / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.7299, allocations: 45 kB / 0.8819 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.73, allocations: 55.58 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.7301, allocations: 89.64 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.7301, allocations: 26.55 kB / 0.8821 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.7302, allocations: 81.77 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.7302, allocations: 12 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7302, allocations: 0 / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.7303, allocations: 312.6 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.7304, allocations: 5.375 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.7304, allocations: 4.312 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.7304, allocations: 5.125 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7304, allocations: 0 / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.907e-05/0.7305, allocations: 36.64 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.7305, allocations: 11.39 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7306, allocations: 4.547 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7306, allocations: 0 / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.7307, allocations: 4.719 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7307, allocations: 2.109 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.7307, allocations: 0 / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.7307, allocations: 0.9688 kB / 0.8826 GB, free: 107.2 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 8.465e-05/0.7308, allocations: 114.6 kB / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.7308, allocations: 1.625 kB / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.731, allocations: 55.97 kB / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.731, allocations: 1.828 kB / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.731, allocations: 0.8125 kB / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.731, allocations: 0 / 0.8827 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.7311, allocations: 156.6 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7311, allocations: 0 / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.7312, allocations: 8.531 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.7312, allocations: 4.656 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.7312, allocations: 5.25 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7312, allocations: 3.953 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7312, allocations: 0.7188 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.7313, allocations: 66.48 kB / 0.883 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.7313, allocations: 81.02 kB / 0.883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.7314, allocations: 2 kB / 0.883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.7314, allocations: 0 / 0.883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.7314, allocations: 12.39 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.7314, allocations: 3.656 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.7315, allocations: 80.61 kB / 0.8831 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7315, allocations: 0.6875 kB / 0.8831 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002751/0.7318, allocations: 15.12 kB / 0.8832 GB, free: 106.6 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.0004391/0.7322, allocations: 0.6115 MB / 0.8838 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.235e-05/0.7323, allocations: 13.25 kB / 0.8838 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7323, allocations: 0.9375 kB / 0.8838 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.7323, allocations: 3.812 kB / 0.8838 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7326, allocations: 11.92 kB / 0.8838 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.7332, allocations: 349.8 kB / 0.8841 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.7334, allocations: 0.6816 MB / 0.8848 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.7334, allocations: 6.172 kB / 0.8848 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.7334, allocations: 7.438 kB / 0.8848 GB, free: 105 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/0.7334, allocations: 0 / 0.8848 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.7469, allocations: 1.222 MB / 0.886 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.7471, allocations: 199.3 kB / 0.8862 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.335, allocations: 0 / 0.8862 GB, free: 104.6 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)