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.8538/0.8538, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001075/0.001075, allocations: 183 kB / 187.3 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.419/1.419, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.000927/0.0009269, allocations: 100.3 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 276 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.506e-05, allocations: 8 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4498, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.5796, allocations: 112.3 MB / 0.874 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5799, allocations: 96.81 kB / 0.8741 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.5939, allocations: 5.363 MB / 0.8793 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5939, allocations: 0 / 0.8793 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.5939, allocations: 8 kB / 0.8793 GB, free: 6.734 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.0005174/0.5945, allocations: 426 kB / 0.8797 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5945, allocations: 8.031 kB / 0.8797 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.5946, allocations: 15.81 kB / 0.8798 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.595, allocations: 262.4 kB / 0.88 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.595, allocations: 4 kB / 0.88 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.595, allocations: 4 kB / 0.88 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.5953, allocations: 127.3 kB / 0.8801 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5953, allocations: 0 / 0.8801 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.5953, allocations: 8 kB / 0.8802 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5953, allocations: 0 / 0.8802 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.5956, allocations: 183.8 kB / 0.8803 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.5959, allocations: 253.5 kB / 0.8806 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.5963, allocations: 202.6 kB / 0.8808 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.5965, allocations: 68.78 kB / 0.8808 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.5965, allocations: 11.97 kB / 0.8808 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.5967, allocations: 123.2 kB / 0.881 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.5967, allocations: 4 kB / 0.881 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.000381/0.5971, allocations: 189.4 kB / 0.8811 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.5972, allocations: 81.11 kB / 0.8812 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.5974, allocations: 219 kB / 0.8814 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5975, allocations: 33.69 kB / 0.8815 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.5975, allocations: 112.1 kB / 0.8816 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.5976, allocations: 43.39 kB / 0.8816 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.5976, allocations: 8 kB / 0.8816 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5977, allocations: 322.8 kB / 0.8819 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.5978, allocations: 55.92 kB / 0.882 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.598, allocations: 86.48 kB / 0.8821 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.5981, allocations: 65.88 kB / 0.8821 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5981, allocations: 3.953 kB / 0.8821 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002901/0.5984, allocations: 209.4 kB / 0.8823 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5984, allocations: 9.094 kB / 0.8823 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5984, allocations: 0 / 0.8823 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5984, allocations: 0 / 0.8823 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.5986, allocations: 27.98 kB / 0.8824 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5986, allocations: 4 kB / 0.8824 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.5987, allocations: 11.94 kB / 0.8824 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.5987, allocations: 7.984 kB / 0.8824 GB, free: 3.375 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 8.978e-05/0.5988, allocations: 116.9 kB / 0.8825 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.5988, allocations: 19.77 kB / 0.8825 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.5993, allocations: 271.9 kB / 0.8828 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5993, allocations: 4 kB / 0.8828 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5993, allocations: 224 / 0.8828 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5993, allocations: 4 kB / 0.8828 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.5996, allocations: 285.5 kB / 0.8831 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5996, allocations: 0 / 0.8831 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5997, allocations: 39.88 kB / 0.8831 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5997, allocations: 0 / 0.8831 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.5997, allocations: 8 kB / 0.8831 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5997, allocations: 0 / 0.8831 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5997, allocations: 0 / 0.8831 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.6001, allocations: 269.5 kB / 0.8834 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.6002, allocations: 104.8 kB / 0.8835 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.6002, allocations: 11.95 kB / 0.8835 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.6003, allocations: 7.938 kB / 0.8835 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.6003, allocations: 15.98 kB / 0.8835 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.6004, allocations: 7.984 kB / 0.8835 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001744/0.6005, allocations: 191 kB / 0.8837 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6006, allocations: 0 / 0.8837 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002566/0.6008, allocations: 47.94 kB / 0.8837 GB, free: 1.906 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.001008/0.6018, allocations: 441.4 kB / 0.8841 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.6021, allocations: 144.8 kB / 0.8843 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6021, allocations: 4.062 kB / 0.8843 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.6023, allocations: 95.89 kB / 0.8844 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.6025, allocations: 39.12 kB / 0.8844 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.603, allocations: 251.6 kB / 0.8847 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.6033, allocations: 0.7369 MB / 0.8854 GB, free: 316 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000117/0.6034, allocations: 58.67 kB / 0.8854 GB, free: 260 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.6035, allocations: 35.42 kB / 0.8855 GB, free: 224 kB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.6035, allocations: 0 / 0.8855 GB, free: 224 kB / 0.5417 GB Notification: Performance of Templates: time 0.005995/0.6095, allocations: 3.03 MB / 0.8884 GB, free: 13.23 MB / 0.5573 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)