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.001326/0.001326, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 195.9 kB / 16.53 MB, free: 6.617 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.383 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.817/1.817, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001504/0.001504, allocations: 73.05 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3008, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003263/0.3041, allocations: 1.628 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3062, allocations: 1.411 MB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.3063, allocations: 4 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.3068, allocations: 55.7 kB / 0.7864 GB, free: 10.36 MB / 0.6075 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.000168/0.3069, allocations: 51.73 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3072, allocations: 78.16 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.3074, allocations: 167.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.3074, allocations: 8.234 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3076, allocations: 63.7 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3077, allocations: 70.25 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.3078, allocations: 12 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3079, allocations: 63.97 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.308, allocations: 39.91 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.3081, allocations: 63.58 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3084, allocations: 195.6 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3084, allocations: 0 / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3084, allocations: 0 / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3084, allocations: 0 / 0.7872 GB, free: 9.562 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.0006613/0.309, allocations: 474.6 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3091, allocations: 12.03 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3092, allocations: 16.75 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3095, allocations: 259.6 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3095, allocations: 8.375 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3096, allocations: 8.125 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3098, allocations: 115.3 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3098, allocations: 4 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3098, allocations: 8 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3098, allocations: 7.984 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.3101, allocations: 139.8 kB / 0.7882 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3103, allocations: 221.6 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.3107, allocations: 170.6 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3108, allocations: 64.7 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3109, allocations: 15.98 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.3111, allocations: 103.4 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3111, allocations: 0 / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004757/0.3116, allocations: 228.4 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3117, allocations: 81.11 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.3119, allocations: 202.5 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3119, allocations: 37.69 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.312, allocations: 116.1 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.3121, allocations: 43.39 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3121, allocations: 29.72 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3123, allocations: 330.8 kB / 0.7898 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.3124, allocations: 43.98 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3125, allocations: 73.22 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3127, allocations: 133.7 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3127, allocations: 0 / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002949/0.313, allocations: 193.3 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.313, allocations: 4.938 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.313, allocations: 4 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3131, allocations: 0 / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3132, allocations: 27.92 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3132, allocations: 0 / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.3133, allocations: 12.03 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3133, allocations: 7.984 kB / 0.7902 GB, free: 6.184 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.0001235/0.3134, allocations: 146.4 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.3134, allocations: 15.81 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.3135, allocations: 21.52 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3135, allocations: 7.984 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3135, allocations: 3.938 kB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3135, allocations: 0 / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3137, allocations: 237.4 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3137, allocations: 4 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.3138, allocations: 23.92 kB / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3138, allocations: 0 / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3138, allocations: 8 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3138, allocations: 0 / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3138, allocations: 0 / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3142, allocations: 212.2 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.3142, allocations: 92.92 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.3143, allocations: 12 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/0.3143, allocations: 3.984 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3144, allocations: 11.94 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3144, allocations: 11.98 kB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001201/0.3145, allocations: 147 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3145, allocations: 4 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002412/0.3148, allocations: 35.98 kB / 0.7912 GB, free: 5.109 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.001003/0.3158, allocations: 459.4 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3161, allocations: 135.9 kB / 0.7918 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3161, allocations: 0 / 0.7918 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3162, allocations: 62.8 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3165, allocations: 45.64 kB / 0.7919 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.317, allocations: 295 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3173, allocations: 0.7202 MB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.3174, allocations: 45.5 kB / 0.7929 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.3174, allocations: 35.42 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3174, allocations: 0 / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.005246/0.3227, allocations: 2.501 MB / 0.7954 GB, free: 1 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)