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.001174/0.001174, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.01043/0.01043, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.717/1.717, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.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.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006395/0.0006396, allocations: 16.02 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2783, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002152/0.2805, allocations: 1.359 MB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.2825, allocations: 1.367 MB / 0.7906 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.2826, allocations: 0 / 0.7906 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.283, allocations: 47.83 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.2832, allocations: 43.84 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2834, allocations: 75.09 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2837, allocations: 151.6 kB / 0.7909 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2837, allocations: 4.234 kB / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.2838, allocations: 59.72 kB / 0.7909 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.284, allocations: 63.8 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.284, allocations: 11.94 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2841, allocations: 59.97 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.2842, allocations: 39.83 kB / 0.7911 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.2843, allocations: 85.31 kB / 0.7912 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2845, allocations: 195.6 kB / 0.7914 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.2846, allocations: 0 / 0.7914 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2846, allocations: 0 / 0.7914 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2846, allocations: 0 / 0.7914 GB, free: 7.992 MB / 0.6075 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.0006113/0.2852, allocations: 434.8 kB / 0.7918 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2853, allocations: 12.03 kB / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.2853, allocations: 16.75 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.2857, allocations: 271.5 kB / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2857, allocations: 8.375 kB / 0.7921 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2857, allocations: 12.12 kB / 0.7921 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.286, allocations: 111.3 kB / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.286, allocations: 0 / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.286, allocations: 0 / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.286, allocations: 0 / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.2862, allocations: 143.8 kB / 0.7923 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.2865, allocations: 233.5 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.2868, allocations: 174.7 kB / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.287, allocations: 60.7 kB / 0.7928 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.287, allocations: 4 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2873, allocations: 111.3 kB / 0.7929 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2873, allocations: 4 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004677/0.2877, allocations: 221.4 kB / 0.7931 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.2878, allocations: 81.11 kB / 0.7932 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.288, allocations: 198.6 kB / 0.7934 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.288, allocations: 37.69 kB / 0.7934 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2881, allocations: 104.1 kB / 0.7935 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.2882, allocations: 55.36 kB / 0.7935 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.2882, allocations: 17.72 kB / 0.7936 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2883, allocations: 330.8 kB / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.2884, allocations: 51.97 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2885, allocations: 77.3 kB / 0.794 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.2887, allocations: 120.8 kB / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2888, allocations: 0 / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00029/0.289, allocations: 201.4 kB / 0.7943 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2891, allocations: 11.94 kB / 0.7943 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2891, allocations: 0 / 0.7943 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2891, allocations: 0 / 0.7943 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2892, allocations: 27.98 kB / 0.7943 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2892, allocations: 0 / 0.7943 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.2893, allocations: 7.906 kB / 0.7944 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2893, allocations: 8 kB / 0.7944 GB, free: 4.66 MB / 0.6075 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 0.0001194/0.2894, allocations: 140.6 kB / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.2895, allocations: 23.8 kB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.2895, allocations: 25.53 kB / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2896, allocations: 0 / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2896, allocations: 3.938 kB / 0.7945 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2896, allocations: 3.984 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.2898, allocations: 241.5 kB / 0.7948 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2898, allocations: 0 / 0.7948 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.2899, allocations: 16 kB / 0.7948 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2899, allocations: 0 / 0.7948 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2899, allocations: 7.984 kB / 0.7948 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2899, allocations: 0 / 0.7948 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2899, allocations: 4 kB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.2902, allocations: 216.8 kB / 0.795 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.2903, allocations: 92.92 kB / 0.7951 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2903, allocations: 8 kB / 0.7951 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.2904, allocations: 7.984 kB / 0.7951 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.2904, allocations: 7.984 kB / 0.7951 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2904, allocations: 12 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001236/0.2906, allocations: 155 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2906, allocations: 0 / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00024/0.2908, allocations: 32 kB / 0.7953 GB, free: 3.586 MB / 0.6075 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.001033/0.2919, allocations: 469 kB / 0.7958 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.2921, allocations: 127.8 kB / 0.7959 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2921, allocations: 4 kB / 0.7959 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2923, allocations: 55.92 kB / 0.7959 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2926, allocations: 42.69 kB / 0.796 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.2932, allocations: 330.2 kB / 0.7963 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2934, allocations: 0.7205 MB / 0.797 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.2936, allocations: 53.5 kB / 0.7971 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.2936, allocations: 27.42 kB / 0.7971 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2936, allocations: 0 / 0.7971 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.005568/0.2992, allocations: 2.364 MB / 0.7994 GB, free: 15.57 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: