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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8308/0.8308, allocations: 143.4 MB / 158.3 MB, free: 5.645 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.001088/0.001088, allocations: 184.3 kB / 191.5 MB, free: 5.68 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.524/1.524, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.001038/0.001038, allocations: 104.2 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 274.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004637, allocations: 16.53 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5849/0.761, allocations: 112.4 MB / 0.8835 GB, free: 32.63 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.7613, allocations: 98.34 kB / 0.8836 GB, free: 32.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.7757, allocations: 5.553 MB / 0.889 GB, free: 32.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7757, allocations: 0 / 0.889 GB, free: 32.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.7757, allocations: 1.875 kB / 0.889 GB, free: 32.06 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.0005991/0.7764, allocations: 470.4 kB / 0.8895 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7764, allocations: 9.625 kB / 0.8895 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.7765, allocations: 14.69 kB / 0.8895 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.7769, allocations: 255.3 kB / 0.8897 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.7769, allocations: 2.75 kB / 0.8897 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.7769, allocations: 7.234 kB / 0.8898 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.7772, allocations: 132.6 kB / 0.8899 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7772, allocations: 4 kB / 0.8899 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7772, allocations: 0.6094 kB / 0.8899 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7772, allocations: 1.438 kB / 0.8899 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.7776, allocations: 196.5 kB / 0.8901 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.7779, allocations: 258.6 kB / 0.8903 GB, free: 31.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.7783, allocations: 204.2 kB / 0.8905 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.7784, allocations: 10.28 kB / 0.8905 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.7786, allocations: 128.8 kB / 0.8906 GB, free: 31.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.7786, allocations: 0 / 0.8906 GB, free: 31.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0004973/0.7791, allocations: 248.5 kB / 0.8909 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7791, allocations: 81.75 kB / 0.891 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.7794, allocations: 224.2 kB / 0.8912 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7794, allocations: 33 kB / 0.8912 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.7795, allocations: 113.8 kB / 0.8913 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.7796, allocations: 44.31 kB / 0.8914 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.7796, allocations: 2.656 kB / 0.8914 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.7796, allocations: 327.2 kB / 0.8917 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.7798, allocations: 60.12 kB / 0.8917 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.7799, allocations: 77.66 kB / 0.8918 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.78, allocations: 71.36 kB / 0.8919 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.78, allocations: 3.078 kB / 0.8919 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003298/0.7804, allocations: 218.2 kB / 0.8921 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7804, allocations: 5.594 kB / 0.8921 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7804, allocations: 4.594 kB / 0.8921 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7804, allocations: 3.938 kB / 0.8921 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.7805, allocations: 26 kB / 0.8921 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7806, allocations: 7.391 kB / 0.8921 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.7806, allocations: 10.41 kB / 0.8921 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7807, allocations: 11.59 kB / 0.8921 GB, free: 30.29 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.0001083/0.7808, allocations: 144.7 kB / 0.8923 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.7808, allocations: 25.12 kB / 0.8923 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.7813, allocations: 271.1 kB / 0.8926 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7813, allocations: 2.938 kB / 0.8926 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7813, allocations: 0.5156 kB / 0.8926 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.7813, allocations: 1.359 kB / 0.8926 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.7815, allocations: 280.4 kB / 0.8928 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7815, allocations: 2.438 kB / 0.8928 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.7816, allocations: 35.88 kB / 0.8929 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7817, allocations: 7.953 kB / 0.8929 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.7817, allocations: 6.781 kB / 0.8929 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7817, allocations: 3 kB / 0.8929 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7817, allocations: 1.828 kB / 0.8929 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.782, allocations: 276.2 kB / 0.8932 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.7821, allocations: 108.6 kB / 0.8933 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.7822, allocations: 7.828 kB / 0.8933 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.7822, allocations: 7.656 kB / 0.8933 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.7823, allocations: 17.39 kB / 0.8933 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.7823, allocations: 5.094 kB / 0.8933 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001437/0.7824, allocations: 190.3 kB / 0.8935 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7825, allocations: 0 / 0.8935 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002713/0.7827, allocations: 49.95 kB / 0.8935 GB, free: 29.62 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.001039/0.7838, allocations: 484.2 kB / 0.894 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.7841, allocations: 159.6 kB / 0.8941 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7841, allocations: 4.062 kB / 0.8941 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7842, allocations: 93.39 kB / 0.8942 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.7845, allocations: 28.7 kB / 0.8943 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.7851, allocations: 386.6 kB / 0.8946 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.7852, allocations: 0.7347 MB / 0.8953 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.7854, allocations: 54.27 kB / 0.8954 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.7855, allocations: 31.52 kB / 0.8954 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.7855, allocations: 0 / 0.8954 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.006788/0.7923, allocations: 3.018 MB / 0.8984 GB, free: 28.18 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)