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.865/0.865, allocations: 143.4 MB / 159.2 MB, free: 4.898 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.001185/0.001185, allocations: 191.6 kB / 191.9 MB, free: 5.723 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.362/1.362, allocations: 222.9 MB / 447.3 MB, free: 5.863 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.001047/0.001047, allocations: 103.7 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 281.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 87.8 kB / 0.6886 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3292, allocations: 81.27 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002534/0.3317, allocations: 1.702 MB / 0.7696 GB, free: 25.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3333, allocations: 1.449 MB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3333, allocations: 4 kB / 0.771 GB, free: 24.51 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.3338, allocations: 51.83 kB / 0.7711 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3339, allocations: 47.77 kB / 0.7711 GB, free: 24.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3341, allocations: 98.89 kB / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3343, allocations: 147.7 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3344, allocations: 12.22 kB / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.3345, allocations: 59.72 kB / 0.7714 GB, free: 24.1 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3346, allocations: 67.78 kB / 0.7715 GB, free: 24.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3347, allocations: 8 kB / 0.7715 GB, free: 24.03 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3348, allocations: 59.92 kB / 0.7715 GB, free: 23.97 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.3348, allocations: 39.83 kB / 0.7716 GB, free: 23.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.3349, allocations: 59.59 kB / 0.7716 GB, free: 23.87 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3351, allocations: 186.1 kB / 0.7718 GB, free: 23.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3351, allocations: 4 kB / 0.7718 GB, free: 23.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3351, allocations: 4 kB / 0.7718 GB, free: 23.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3351, allocations: 0 / 0.7718 GB, free: 23.68 MB / 458.7 MB 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.0004932/0.3356, allocations: 466.7 kB / 0.7723 GB, free: 23.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3357, allocations: 12.02 kB / 0.7723 GB, free: 23.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.3357, allocations: 16.75 kB / 0.7723 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.336, allocations: 259.8 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.336, allocations: 4.375 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.336, allocations: 8.125 kB / 0.7725 GB, free: 22.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3362, allocations: 115.3 kB / 0.7727 GB, free: 22.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3363, allocations: 0 / 0.7727 GB, free: 22.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3363, allocations: 11.94 kB / 0.7727 GB, free: 22.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3363, allocations: 0 / 0.7727 GB, free: 22.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3365, allocations: 143.8 kB / 0.7728 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.3367, allocations: 229.5 kB / 0.773 GB, free: 22.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.337, allocations: 174.6 kB / 0.7732 GB, free: 22.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.3371, allocations: 56.78 kB / 0.7732 GB, free: 22.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3371, allocations: 7.984 kB / 0.7732 GB, free: 22.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.3373, allocations: 107.3 kB / 0.7734 GB, free: 21.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3374, allocations: 3.938 kB / 0.7734 GB, free: 21.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.00042/0.3378, allocations: 225.4 kB / 0.7736 GB, free: 21.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3378, allocations: 81.11 kB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.338, allocations: 203.2 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.338, allocations: 29.7 kB / 0.7739 GB, free: 21.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3381, allocations: 112.1 kB / 0.774 GB, free: 21.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.3381, allocations: 39.45 kB / 0.774 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3382, allocations: 33.7 kB / 0.774 GB, free: 21.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.3382, allocations: 326.8 kB / 0.7744 GB, free: 20.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.761e-05/0.3383, allocations: 47.97 kB / 0.7744 GB, free: 20.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.3384, allocations: 79.95 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3386, allocations: 136.4 kB / 0.7746 GB, free: 20.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3386, allocations: 0 / 0.7746 GB, free: 20.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002572/0.3389, allocations: 189.3 kB / 0.7748 GB, free: 20.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3389, allocations: 8 kB / 0.7748 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3389, allocations: 0 / 0.7748 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3389, allocations: 4.062 kB / 0.7748 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3391, allocations: 27.98 kB / 0.7748 GB, free: 20.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3391, allocations: 4 kB / 0.7748 GB, free: 20.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.3391, allocations: 11.84 kB / 0.7748 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3391, allocations: 4 kB / 0.7748 GB, free: 20.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3393, allocations: 147 kB / 0.775 GB, free: 20.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3393, allocations: 15.81 kB / 0.775 GB, free: 20.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.3394, allocations: 21.53 kB / 0.775 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3394, allocations: 4 kB / 0.775 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3394, allocations: 4 kB / 0.775 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3394, allocations: 3.984 kB / 0.775 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3396, allocations: 241.4 kB / 0.7753 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3396, allocations: 0 / 0.7753 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.3396, allocations: 16 kB / 0.7753 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3396, allocations: 3.984 kB / 0.7753 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3397, allocations: 8 kB / 0.7753 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3397, allocations: 0 / 0.7753 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3397, allocations: 0 / 0.7753 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.3402, allocations: 0.8346 MB / 0.7761 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3403, allocations: 96.84 kB / 0.7762 GB, free: 18.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3403, allocations: 0 / 0.7762 GB, free: 18.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.3403, allocations: 11.98 kB / 0.7762 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3404, allocations: 7.984 kB / 0.7762 GB, free: 18.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3404, allocations: 11.88 kB / 0.7762 GB, free: 18.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3405, allocations: 156.2 kB / 0.7764 GB, free: 18.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3406, allocations: 0 / 0.7764 GB, free: 18.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.3409, allocations: 47.92 kB / 0.7764 GB, free: 18.57 MB / 458.7 MB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.342, allocations: 453.4 kB / 0.7769 GB, free: 18.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.3423, allocations: 139.2 kB / 0.777 GB, free: 18.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3423, allocations: 0 / 0.777 GB, free: 18.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3424, allocations: 51.98 kB / 0.777 GB, free: 18.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3427, allocations: 38.7 kB / 0.7771 GB, free: 18.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.3433, allocations: 483.4 kB / 0.7775 GB, free: 17.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3435, allocations: 0.7205 MB / 0.7782 GB, free: 16.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.3436, allocations: 57.5 kB / 0.7783 GB, free: 16.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.3436, allocations: 31.41 kB / 0.7783 GB, free: 16.73 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3436, allocations: 0 / 0.7783 GB, free: 16.73 MB / 458.7 MB Notification: Performance of Templates: time 0.004818/0.3485, allocations: 2.482 MB / 0.7807 GB, free: 14.3 MB / 458.7 MB 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)