Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 104.5 kB / 16.36 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 193.8 kB / 17.3 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002583, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.266, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003631/0.2697, allocations: 1.637 MB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2721, allocations: 1.418 MB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.2723, allocations: 7.938 kB / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.2727, allocations: 51.75 kB / 0.7878 GB, free: 40 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.3501/0.6228, allocations: 50.75 kB / 0.7879 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.6232, allocations: 71.42 kB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.6234, allocations: 173.5 kB / 0.7881 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.6235, allocations: 7.109 kB / 0.7881 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.6235, allocations: 60.39 kB / 0.7882 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.6237, allocations: 68.67 kB / 0.7882 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.6237, allocations: 8.938 kB / 0.7883 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.6239, allocations: 74.16 kB / 0.7883 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.624, allocations: 36.67 kB / 0.7884 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.624, allocations: 62.72 kB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.6243, allocations: 196.3 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6243, allocations: 3.812 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6243, allocations: 2.531 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.6243, allocations: 0 / 0.7886 GB, free: 46.55 MB / 0.6544 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.0004706/0.6248, allocations: 470.3 kB / 0.7891 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.6248, allocations: 10.5 kB / 0.7891 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.6249, allocations: 14 kB / 0.7891 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.6251, allocations: 260.1 kB / 0.7893 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.6252, allocations: 6.688 kB / 0.7893 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.6252, allocations: 6.812 kB / 0.7893 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6254, allocations: 122.5 kB / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.6254, allocations: 0 / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6254, allocations: 6.375 kB / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6254, allocations: 0 / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.6256, allocations: 138.8 kB / 0.7896 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.6258, allocations: 232.2 kB / 0.7898 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.6262, allocations: 177.8 kB / 0.79 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.6263, allocations: 49.5 kB / 0.79 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.6263, allocations: 8.641 kB / 0.7901 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.6266, allocations: 119.4 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.6266, allocations: 1.5 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.000444/0.627, allocations: 219.1 kB / 0.7904 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.6271, allocations: 78.03 kB / 0.7905 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.6272, allocations: 210.5 kB / 0.7907 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6272, allocations: 30.95 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.6273, allocations: 112.7 kB / 0.7908 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.6273, allocations: 52.5 kB / 0.7908 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.6274, allocations: 33.41 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.6274, allocations: 327.5 kB / 0.7912 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.6275, allocations: 46.67 kB / 0.7912 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.6276, allocations: 74.72 kB / 0.7913 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.6278, allocations: 132.6 kB / 0.7914 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6278, allocations: 0 / 0.7914 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002669/0.6281, allocations: 194.7 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.6281, allocations: 5.344 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6281, allocations: 3.062 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6281, allocations: 2.5 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.6282, allocations: 24.53 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6283, allocations: 0 / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.6283, allocations: 11.84 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6283, allocations: 7.344 kB / 0.7917 GB, free: 44.79 MB / 0.6544 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 ($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 7.933e-05/0.6284, allocations: 131.1 kB / 0.7918 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.6285, allocations: 22.19 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.6285, allocations: 28.3 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6285, allocations: 2.438 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6285, allocations: 3.281 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6285, allocations: 3.188 kB / 0.7918 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.6287, allocations: 232.7 kB / 0.7921 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6287, allocations: 7.984 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.6287, allocations: 17.91 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6288, allocations: 4.094 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6288, allocations: 5.953 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6288, allocations: 1.5 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6288, allocations: 0.5938 kB / 0.7921 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.6291, allocations: 216.4 kB / 0.7923 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.6291, allocations: 99.36 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.6291, allocations: 8.781 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.6292, allocations: 0.9062 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6292, allocations: 10.94 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.6293, allocations: 10.17 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.311e-05/0.6294, allocations: 151.7 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6294, allocations: 1.25 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002416/0.6296, allocations: 36.31 kB / 0.7926 GB, free: 44.21 MB / 0.6544 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.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.0009665/0.6306, allocations: 453.1 kB / 0.793 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.6308, allocations: 121 kB / 0.7932 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6309, allocations: 0 / 0.7932 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.631, allocations: 67.61 kB / 0.7932 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.6312, allocations: 45.19 kB / 0.7933 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.6317, allocations: 281.2 kB / 0.7935 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.6318, allocations: 0.7233 MB / 0.7942 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.654e-05/0.6319, allocations: 44.66 kB / 0.7943 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.632, allocations: 36.62 kB / 0.7943 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.632, allocations: 0 / 0.7943 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.005231/0.6372, allocations: 2.499 MB / 0.7968 GB, free: 43.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)