Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.7933/0.7933, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 186 kB / 187.3 MB, free: 11.89 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.501/1.501, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009556/0.0009556, allocations: 96.53 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 268.4 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.873e-05/4.905e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.509, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.6333, allocations: 108.7 MB / 0.8705 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.6335, allocations: 75.95 kB / 0.8706 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004851/0.6384, allocations: 1.808 MB / 0.8724 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6384, allocations: 0 / 0.8724 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6384, allocations: 0 / 0.8724 GB, free: 13.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002978/0.6387, allocations: 342.4 kB / 0.8727 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6388, allocations: 16.03 kB / 0.8727 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.6388, allocations: 30.56 kB / 0.8727 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.6389, allocations: 3.906 kB / 0.8727 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.639, allocations: 171.1 kB / 0.8729 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.639, allocations: 3.953 kB / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.639, allocations: 4 kB / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.6391, allocations: 29.7 kB / 0.8729 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6392, allocations: 0 / 0.8729 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.6392, allocations: 0 / 0.8729 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6392, allocations: 3.938 kB / 0.8729 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.6392, allocations: 23.92 kB / 0.873 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.6394, allocations: 157.7 kB / 0.8731 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.6395, allocations: 34.53 kB / 0.8731 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.6395, allocations: 8.922 kB / 0.8731 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/0.6405, allocations: 1.179 MB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.6406, allocations: 30.56 kB / 0.8743 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 4.027e-06/0.6406, allocations: 4 kB / 0.8743 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.6407, allocations: 45.56 kB / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.6408, allocations: 55.41 kB / 0.8744 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.6408, allocations: 104.9 kB / 0.8745 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6409, allocations: 29.7 kB / 0.8746 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.6409, allocations: 80.14 kB / 0.8746 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.6409, allocations: 7.906 kB / 0.8746 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.641, allocations: 0 / 0.8746 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6411, allocations: 314.8 kB / 0.8749 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.6411, allocations: 4 kB / 0.8749 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.6411, allocations: 4 kB / 0.8749 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.6411, allocations: 8.125 kB / 0.875 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6411, allocations: 0 / 0.875 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.101e-05/0.6412, allocations: 53.58 kB / 0.875 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6412, allocations: 8 kB / 0.875 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6412, allocations: 4 kB / 0.875 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6413, allocations: 0 / 0.875 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.6413, allocations: 7.984 kB / 0.875 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.6413, allocations: 2.344 kB / 0.875 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.6414, allocations: 3.938 kB / 0.875 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6414, allocations: 4 kB / 0.875 GB, free: 10.73 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.6414, allocations: 101 kB / 0.8751 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.6415, allocations: 7.859 kB / 0.8751 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.6416, allocations: 65.66 kB / 0.8752 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6416, allocations: 3.984 kB / 0.8752 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6416, allocations: 0 / 0.8752 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6416, allocations: 4 kB / 0.8752 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.6417, allocations: 153.7 kB / 0.8754 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6418, allocations: 0 / 0.8754 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.6418, allocations: 8 kB / 0.8754 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.6418, allocations: 4 kB / 0.8754 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6418, allocations: 3.953 kB / 0.8754 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6418, allocations: 4 kB / 0.8754 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6418, allocations: 0 / 0.8754 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.6419, allocations: 69.12 kB / 0.8754 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.642, allocations: 88.94 kB / 0.8755 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.642, allocations: 11.88 kB / 0.8755 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.6421, allocations: 7.953 kB / 0.8755 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.6421, allocations: 0 / 0.8755 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.6421, allocations: 4 kB / 0.8755 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.6421, allocations: 91.27 kB / 0.8756 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6422, allocations: 0 / 0.8756 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001997/0.6424, allocations: 31.94 kB / 0.8757 GB, free: 9.984 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 () * 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 (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.0004416/0.6428, allocations: 0.628 MB / 0.8763 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.193e-05/0.6429, allocations: 23.94 kB / 0.8763 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6429, allocations: 0 / 0.8763 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.6429, allocations: 7.984 kB / 0.8763 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.6431, allocations: 11.95 kB / 0.8763 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.6434, allocations: 110.8 kB / 0.8764 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6437, allocations: 0.6848 MB / 0.8771 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.6437, allocations: 11.58 kB / 0.8771 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.6438, allocations: 7.438 kB / 0.8771 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6438, allocations: 0 / 0.8771 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.6574, allocations: 1.416 MB / 0.8785 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.6577, allocations: 176.5 kB / 0.8787 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.306, allocations: 0 / 0.8787 GB, free: 6.949 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)