Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.7039/0.7039, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009234/0.0009234, allocations: 174.7 kB / 187.2 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.192/1.192, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008272/0.0008273, allocations: 90.97 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 275.1 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.973e-05, allocations: 8 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.4246, allocations: 112.3 MB / 0.8741 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.4248, allocations: 92.53 kB / 0.8742 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.4382, allocations: 5.402 MB / 0.8794 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4383, allocations: 0 / 0.8794 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.4383, allocations: 4 kB / 0.8795 GB, free: 6.719 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005607/0.4389, allocations: 430 kB / 0.8799 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4389, allocations: 12.03 kB / 0.8799 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.439, allocations: 38.55 kB / 0.8799 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.439, allocations: 19.81 kB / 0.8799 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.4394, allocations: 262.3 kB / 0.8802 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4395, allocations: 4 kB / 0.8802 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4395, allocations: 7.938 kB / 0.8802 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.4397, allocations: 127.3 kB / 0.8803 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4397, allocations: 0 / 0.8803 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4397, allocations: 4 kB / 0.8803 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4397, allocations: 4 kB / 0.8803 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.44, allocations: 187.8 kB / 0.8805 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.4403, allocations: 253.5 kB / 0.8807 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.4407, allocations: 206.4 kB / 0.8809 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.4408, allocations: 64.83 kB / 0.881 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4408, allocations: 4 kB / 0.881 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.441, allocations: 122 kB / 0.8811 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 2.564e-06/0.4411, allocations: 3.984 kB / 0.8811 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.000359/0.4414, allocations: 201.4 kB / 0.8813 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4415, allocations: 81.11 kB / 0.8814 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.4417, allocations: 219 kB / 0.8816 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4417, allocations: 29.7 kB / 0.8816 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.4418, allocations: 112.1 kB / 0.8817 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.4419, allocations: 43.44 kB / 0.8818 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.4419, allocations: 8 kB / 0.8818 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.442, allocations: 330.8 kB / 0.8821 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.4421, allocations: 55.92 kB / 0.8822 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.4422, allocations: 80.53 kB / 0.8822 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/0.4423, allocations: 67.91 kB / 0.8823 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4423, allocations: 0 / 0.8823 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002802/0.4426, allocations: 205.4 kB / 0.8825 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4426, allocations: 13.62 kB / 0.8825 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4426, allocations: 0 / 0.8825 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4426, allocations: 0 / 0.8825 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4428, allocations: 31.97 kB / 0.8825 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4428, allocations: 7.938 kB / 0.8825 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.4429, allocations: 7.906 kB / 0.8826 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4429, allocations: 4 kB / 0.8826 GB, free: 3.297 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.282e-05/0.443, allocations: 116.9 kB / 0.8827 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.443, allocations: 15.81 kB / 0.8827 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.4434, allocations: 277.4 kB / 0.8829 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4434, allocations: 4 kB / 0.8829 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4434, allocations: 3.938 kB / 0.883 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4435, allocations: 224 / 0.883 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.4437, allocations: 277.6 kB / 0.8832 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4437, allocations: 7.891 kB / 0.8832 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4438, allocations: 27.98 kB / 0.8833 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4438, allocations: 4 kB / 0.8833 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4438, allocations: 8 kB / 0.8833 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4439, allocations: 4 kB / 0.8833 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4439, allocations: 3.984 kB / 0.8833 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4442, allocations: 266 kB / 0.8835 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.4443, allocations: 108.8 kB / 0.8836 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4443, allocations: 8 kB / 0.8836 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.4444, allocations: 7.984 kB / 0.8836 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4444, allocations: 19.98 kB / 0.8837 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4445, allocations: 4 kB / 0.8837 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001615/0.4446, allocations: 191 kB / 0.8838 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4446, allocations: 0 / 0.8838 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002479/0.4449, allocations: 51.92 kB / 0.8839 GB, free: 1.824 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001301/0.4462, allocations: 1.122 MB / 0.885 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.4465, allocations: 151.8 kB / 0.8851 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4465, allocations: 0 / 0.8851 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4466, allocations: 95.98 kB / 0.8852 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4468, allocations: 30.44 kB / 0.8853 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.4474, allocations: 333.7 kB / 0.8856 GB, free: 196 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4477, allocations: 0.7368 MB / 0.8863 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.4478, allocations: 46.92 kB / 0.8863 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.448, allocations: 79.39 kB / 0.8864 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.448, allocations: 0 / 0.8864 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.4661, allocations: 4.996 MB / 0.8913 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.4663, allocations: 224.5 kB / 0.8915 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.103, allocations: 8.062 kB / 0.8915 GB, free: 10.29 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)