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.8134/0.8134, allocations: 143.3 MB / 158.3 MB, free: 5.797 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.001236/0.001236, allocations: 181.1 kB / 191.5 MB, free: 5.773 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.55/1.55, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009159/0.0009159, allocations: 92.27 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 278.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 14.88 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.3533, allocations: 108.8 MB / 0.88 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.3537, allocations: 79.94 kB / 0.8801 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3841/0.7378, allocations: 1.802 MB / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7378, allocations: 0 / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7379, allocations: 2.844 kB / 0.8818 GB, free: 109 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.0002766/0.7381, allocations: 360.6 kB / 0.8822 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7382, allocations: 8.812 kB / 0.8822 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.7382, allocations: 33.62 kB / 0.8822 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.7383, allocations: 3 kB / 0.8822 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.7383, allocations: 168.9 kB / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7384, allocations: 4.891 kB / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.7384, allocations: 7.047 kB / 0.8824 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.7385, allocations: 38.98 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7385, allocations: 0 / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7385, allocations: 3.938 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7385, allocations: 0 / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.7386, allocations: 9.969 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.7387, allocations: 160.7 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.7388, allocations: 36.22 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.7394, allocations: 1.174 MB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.7395, allocations: 33.84 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7395, allocations: 0 / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001402/0.7396, allocations: 53.27 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.7397, allocations: 51.41 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.7397, allocations: 98.78 kB / 0.884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.7397, allocations: 25.7 kB / 0.884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.7397, allocations: 89.92 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.7398, allocations: 13.22 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7398, allocations: 3.938 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.7398, allocations: 310.8 kB / 0.8844 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.7399, allocations: 6.156 kB / 0.8844 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-06/0.7399, allocations: 2.844 kB / 0.8844 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.7399, allocations: 7.094 kB / 0.8844 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7399, allocations: 4 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.084e-05/0.74, allocations: 50.52 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.74, allocations: 10.05 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.74, allocations: 0.75 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.74, allocations: 0 / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.7401, allocations: 6.234 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7401, allocations: 2.594 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.7401, allocations: 0 / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.7401, allocations: 0 / 0.8845 GB, free: 106.1 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 (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 5.729e-05/0.7402, allocations: 123 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.7402, allocations: 2.969 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.7403, allocations: 63.66 kB / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7403, allocations: 0.6094 kB / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7403, allocations: 2.719 kB / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7404, allocations: 0 / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.7404, allocations: 160.7 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7405, allocations: 5 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.7405, allocations: 5.062 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7405, allocations: 0 / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7405, allocations: 2.938 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7405, allocations: 3.953 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7405, allocations: 0 / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.338e-05/0.7406, allocations: 73.52 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.7407, allocations: 91.02 kB / 0.885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.7407, allocations: 4 kB / 0.885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.7407, allocations: 2.453 kB / 0.885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.7407, allocations: 10.69 kB / 0.885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.7408, allocations: 0 / 0.885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.7408, allocations: 88.52 kB / 0.8851 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7408, allocations: 0 / 0.8851 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002238/0.741, allocations: 38.75 kB / 0.8852 GB, free: 105.5 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 (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.0003951/0.7414, allocations: 0.6431 MB / 0.8858 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.7415, allocations: 16.2 kB / 0.8858 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7415, allocations: 0 / 0.8858 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.7416, allocations: 5.438 kB / 0.8858 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.7417, allocations: 14.91 kB / 0.8858 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.7421, allocations: 179.2 kB / 0.886 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.7423, allocations: 0.6828 MB / 0.8867 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.7423, allocations: 5.5 kB / 0.8867 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.7424, allocations: 14.38 kB / 0.8867 GB, free: 104 MB / 0.5417 GB Notification: Performance of SimCode: time 3.146e-06/0.7424, allocations: 0 / 0.8867 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.7605, allocations: 1.418 MB / 0.8881 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.7608, allocations: 202.9 kB / 0.8883 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.308, allocations: 2.531 kB / 0.8883 GB, free: 103.6 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)