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.9341/0.9341, 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.00142/0.00142, allocations: 185 kB / 191.5 MB, free: 5.742 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.538/1.538, 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.0008826/0.0008824, allocations: 86.23 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 279 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 18.16 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1953, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.614/0.8093, allocations: 112.4 MB / 0.8836 GB, free: 32.83 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.8096, allocations: 93.81 kB / 0.8837 GB, free: 32.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.8244, allocations: 5.591 MB / 0.8891 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8245, allocations: 0 / 0.8891 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.8245, allocations: 6.688 kB / 0.8891 GB, free: 32.26 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.0006177/0.8251, allocations: 471.3 kB / 0.8896 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.8252, allocations: 11.08 kB / 0.8896 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.8252, allocations: 39.2 kB / 0.8896 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.8253, allocations: 15.38 kB / 0.8896 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.8257, allocations: 257.5 kB / 0.8899 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.8257, allocations: 11.34 kB / 0.8899 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.8258, allocations: 4.141 kB / 0.8899 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.826, allocations: 130.9 kB / 0.89 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.826, allocations: 0 / 0.89 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.8261, allocations: 5.859 kB / 0.89 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8261, allocations: 1.375 kB / 0.89 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.8265, allocations: 188.3 kB / 0.8902 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.8268, allocations: 258.8 kB / 0.8905 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.8273, allocations: 211.5 kB / 0.8907 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.8274, allocations: 0 / 0.8907 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.8276, allocations: 122 kB / 0.8908 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.8276, allocations: 0 / 0.8908 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0005426/0.8282, allocations: 263.4 kB / 0.891 GB, free: 31.19 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.8282, allocations: 79.92 kB / 0.8911 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.8285, allocations: 226.4 kB / 0.8913 GB, free: 31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.8285, allocations: 30.16 kB / 0.8914 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.8286, allocations: 111.5 kB / 0.8915 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.8286, allocations: 44.98 kB / 0.8915 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.8286, allocations: 2.938 kB / 0.8915 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.8287, allocations: 327.1 kB / 0.8918 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.8289, allocations: 63.47 kB / 0.8919 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.829, allocations: 83.98 kB / 0.892 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.8291, allocations: 61.09 kB / 0.892 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.8291, allocations: 7.109 kB / 0.892 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003223/0.8294, allocations: 218.2 kB / 0.8922 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.8295, allocations: 2.875 kB / 0.8922 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8295, allocations: 3.031 kB / 0.8922 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8295, allocations: 4.062 kB / 0.8922 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.8296, allocations: 28.72 kB / 0.8923 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8297, allocations: 2.5 kB / 0.8923 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.8297, allocations: 18.22 kB / 0.8923 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.8298, allocations: 3.656 kB / 0.8923 GB, free: 30.45 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 () * Number of clocked 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 0.0001093/0.8299, allocations: 136.5 kB / 0.8924 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.8299, allocations: 24.56 kB / 0.8924 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.8304, allocations: 290.6 kB / 0.8927 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8304, allocations: 6.625 kB / 0.8927 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8304, allocations: 0 / 0.8927 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8304, allocations: 0 / 0.8927 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.8307, allocations: 276.2 kB / 0.893 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8307, allocations: 0 / 0.893 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8308, allocations: 36.11 kB / 0.893 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8308, allocations: 1.828 kB / 0.893 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.8309, allocations: 5.938 kB / 0.893 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8309, allocations: 4 kB / 0.893 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8309, allocations: 4.578 kB / 0.893 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.8313, allocations: 273.6 kB / 0.8933 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.8314, allocations: 104.7 kB / 0.8934 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.8314, allocations: 11.86 kB / 0.8934 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.8315, allocations: 5.281 kB / 0.8934 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.8316, allocations: 17.41 kB / 0.8934 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.8316, allocations: 11.47 kB / 0.8934 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001896/0.8318, allocations: 189.1 kB / 0.8936 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8318, allocations: 0 / 0.8936 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002876/0.8321, allocations: 49.41 kB / 0.8937 GB, free: 29.78 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) * Number of clocked states: 0 () * 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.001545/0.8336, allocations: 1.164 MB / 0.8948 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.8339, allocations: 162.8 kB / 0.895 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.834, allocations: 0 / 0.895 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.8341, allocations: 95.06 kB / 0.8951 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.8344, allocations: 31.38 kB / 0.8951 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.8363, allocations: 1.285 MB / 0.8963 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.8366, allocations: 0.7345 MB / 0.8971 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000174/0.8368, allocations: 49.38 kB / 0.8971 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.8369, allocations: 67.98 kB / 0.8972 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.8369, allocations: 0 / 0.8972 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.86, allocations: 4.988 MB / 0.902 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8603, allocations: 259.6 kB / 0.9023 GB, free: 26.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.893, allocations: 1.938 kB / 0.9023 GB, free: 26.92 MB / 0.5417 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)