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.9059/0.9059, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001253/0.001253, allocations: 187.7 kB / 182.2 MB, free: 9.445 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.531/1.531, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000892/0.000892, allocations: 92.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 275.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.821e-05, allocations: 4 kB / 0.6766 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.6511, allocations: 111.7 MB / 0.8664 GB, free: 212 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.6514, allocations: 95.83 kB / 0.8665 GB, free: 120 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01415/0.6655, allocations: 5.226 MB / 0.8716 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6656, allocations: 3.938 kB / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.6656, allocations: 4 kB / 0.8716 GB, free: 10.88 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.0006397/0.6663, allocations: 434.1 kB / 0.8721 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6663, allocations: 8.031 kB / 0.8721 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.6664, allocations: 19.8 kB / 0.8721 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.6669, allocations: 246.7 kB / 0.8723 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.6669, allocations: 4 kB / 0.8723 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.667, allocations: 4 kB / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003228/0.6673, allocations: 183.8 kB / 0.8725 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.6675, allocations: 127.2 kB / 0.8726 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6675, allocations: 0 / 0.8726 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6676, allocations: 3.984 kB / 0.8726 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.6676, allocations: 4 kB / 0.8726 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.6679, allocations: 222 kB / 0.8728 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.6684, allocations: 210.4 kB / 0.873 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.6685, allocations: 56.84 kB / 0.8731 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6685, allocations: 0 / 0.8731 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.6687, allocations: 124.7 kB / 0.8732 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.6687, allocations: 0 / 0.8732 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0004665/0.6692, allocations: 181.4 kB / 0.8734 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.6693, allocations: 81.11 kB / 0.8735 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.6696, allocations: 217.8 kB / 0.8737 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.6696, allocations: 29.7 kB / 0.8737 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.6697, allocations: 112.1 kB / 0.8738 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.6697, allocations: 47.44 kB / 0.8739 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.6698, allocations: 0 / 0.8739 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6699, allocations: 326.8 kB / 0.8742 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.67, allocations: 55.92 kB / 0.8742 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.6701, allocations: 74.88 kB / 0.8743 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.6702, allocations: 65.5 kB / 0.8744 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6702, allocations: 0 / 0.8744 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003366/0.6706, allocations: 213.3 kB / 0.8746 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6706, allocations: 5.25 kB / 0.8746 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.6706, allocations: 0 / 0.8746 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6707, allocations: 4 kB / 0.8746 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.6708, allocations: 23.98 kB / 0.8746 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6708, allocations: 0 / 0.8746 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.6709, allocations: 7.906 kB / 0.8746 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.6709, allocations: 12.03 kB / 0.8746 GB, free: 7.613 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 0.0001154/0.671, allocations: 109.8 kB / 0.8747 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.6711, allocations: 23.75 kB / 0.8747 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.6716, allocations: 261.7 kB / 0.875 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6716, allocations: 0 / 0.875 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6716, allocations: 4 kB / 0.875 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6716, allocations: 3.984 kB / 0.875 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.6719, allocations: 246.2 kB / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6719, allocations: 0 / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.672, allocations: 43.91 kB / 0.8753 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.672, allocations: 3.938 kB / 0.8753 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.6721, allocations: 4 kB / 0.8753 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.6721, allocations: 3.953 kB / 0.8753 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6721, allocations: 0 / 0.8753 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.6725, allocations: 252.9 kB / 0.8755 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.6726, allocations: 108.8 kB / 0.8756 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.6726, allocations: 4 kB / 0.8756 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.6727, allocations: 4 kB / 0.8756 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.6727, allocations: 19.88 kB / 0.8757 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6728, allocations: 11.98 kB / 0.8757 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002332/0.673, allocations: 176 kB / 0.8758 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/0.673, allocations: 0 / 0.8758 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003013/0.6733, allocations: 51.92 kB / 0.8759 GB, free: 6.23 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.001039/0.6744, allocations: 412.4 kB / 0.8763 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.6747, allocations: 143.9 kB / 0.8764 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6747, allocations: 0 / 0.8764 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.6748, allocations: 90.34 kB / 0.8765 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.6751, allocations: 20.64 kB / 0.8765 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.6756, allocations: 249.5 kB / 0.8768 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.676, allocations: 0.7406 MB / 0.8775 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.6762, allocations: 46.77 kB / 0.8775 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.6763, allocations: 35.41 kB / 0.8776 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6763, allocations: 0 / 0.8776 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of Templates: time 0.007032/0.6833, allocations: 2.823 MB / 0.8803 GB, free: 1.773 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)