Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008521/0.0008521, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009522/0.0009519, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.605 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.724/1.724, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006008/0.0006011, allocations: 19.84 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2435, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.05459/0.2982, allocations: 56.08 MB / 0.8421 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.321, allocations: 17.07 MB / 0.8587 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.3238, allocations: 51.69 kB / 0.8588 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.3265, allocations: 0.6016 MB / 0.8594 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.3337, allocations: 2.029 MB / 0.8613 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006012/0.3397, allocations: 1.271 MB / 0.8626 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008951/0.3487, allocations: 4.873 MB / 0.8673 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.3512, allocations: 1.073 MB / 0.8684 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.3551, allocations: 1.493 MB / 0.8698 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.3577, allocations: 1.161 MB / 0.871 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.3579, allocations: 68 kB / 0.871 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.3615, allocations: 1.294 MB / 0.8723 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.3618, allocations: 286.6 kB / 0.8726 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.3625, allocations: 376.8 kB / 0.8729 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.3659, allocations: 2.252 MB / 0.8751 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3659, allocations: 0 / 0.8751 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3659, allocations: 0 / 0.8751 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.104e-05/0.366, allocations: 0 / 0.8751 GB, free: 1.707 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003786/0.3698, allocations: 1.935 MB / 0.877 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3698, allocations: 8.031 kB / 0.877 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.3715, allocations: 409.4 kB / 0.8774 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.3746, allocations: 1.492 MB / 0.8789 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.3747, allocations: 85.86 kB / 0.879 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.3749, allocations: 115.8 kB / 0.8791 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.3771, allocations: 1.228 MB / 0.8803 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.3771, allocations: 4 kB / 0.8803 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.3772, allocations: 47.98 kB / 0.8803 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.3773, allocations: 27.94 kB / 0.8804 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3791, allocations: 0.9602 MB / 0.8813 GB, free: 11.2 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007353/0.3865, allocations: 6.988 MB / 0.8881 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3881, allocations: 0.8235 MB / 0.8889 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.3888, allocations: 406.5 kB / 0.8893 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.3903, allocations: 1.785 MB / 0.8911 GB, free: 252 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.3912, allocations: 472.2 kB / 0.8915 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/0.3913, allocations: 0 / 0.8915 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.002521/0.3938, allocations: 1.191 MB / 0.8927 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3938, allocations: 85.77 kB / 0.8927 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.3955, allocations: 1.292 MB / 0.894 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.3956, allocations: 45.69 kB / 0.8941 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.3962, allocations: 0.7121 MB / 0.8947 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.3964, allocations: 256.3 kB / 0.895 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3965, allocations: 16 kB / 0.895 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3966, allocations: 345.9 kB / 0.8953 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.3973, allocations: 333.8 kB / 0.8957 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.3981, allocations: 0.5872 MB / 0.8962 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.3989, allocations: 411 kB / 0.8966 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3989, allocations: 0 / 0.8966 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002079/0.401, allocations: 1.109 MB / 0.8977 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.4012, allocations: 300.7 kB / 0.898 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4013, allocations: 15.92 kB / 0.898 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.4013, allocations: 20 kB / 0.898 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.4021, allocations: 215.7 kB / 0.8982 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.4021, allocations: 15.92 kB / 0.8982 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4032, allocations: 170.9 kB / 0.8984 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/0.4033, allocations: 47.98 kB / 0.8985 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.4034, allocations: 8 kB / 0.8985 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001758/0.4051, allocations: 0.9562 MB / 0.8994 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.4051, allocations: 8 kB / 0.8994 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4052, allocations: 12 kB / 0.8994 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.4059, allocations: 220 kB / 0.8996 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.4059, allocations: 19.92 kB / 0.8996 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.4069, allocations: 163 kB / 0.8998 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.407, allocations: 43.98 kB / 0.8998 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0006789/0.4077, allocations: 416.8 kB / 0.9002 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.4079, allocations: 150.2 kB / 0.9004 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.4106, allocations: 1.405 MB / 0.9018 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.4106, allocations: 11.98 kB / 0.9018 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4106, allocations: 0 / 0.9018 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001794/0.4124, allocations: 1.209 MB / 0.9029 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.4165, allocations: 2.678 MB / 0.9056 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.4166, allocations: 7.984 kB / 0.9056 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.4172, allocations: 163.8 kB / 0.9057 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4173, allocations: 4 kB / 0.9057 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.4173, allocations: 32.06 kB / 0.9058 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4173, allocations: 4 kB / 0.9058 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4173, allocations: 4 kB / 0.9058 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.4202, allocations: 1.821 MB / 0.9075 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.4208, allocations: 378.8 kB / 0.9079 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.421, allocations: 16 kB / 0.9079 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.4218, allocations: 115.8 kB / 0.908 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.422, allocations: 72.98 kB / 0.9081 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.4221, allocations: 43.86 kB / 0.9081 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001216/0.4233, allocations: 0.8693 MB / 0.909 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4233, allocations: 0 / 0.909 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002045/0.4253, allocations: 0.842 MB / 0.9098 GB, free: 12.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.001685/0.427, allocations: 0.903 MB / 0.9107 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.4299, allocations: 1.55 MB / 0.9122 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4299, allocations: 0 / 0.9122 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.4309, allocations: 0.5872 MB / 0.9128 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.4338, allocations: 0.6396 MB / 0.9134 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.4407, allocations: 3.562 MB / 0.9169 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/0.4416, allocations: 1.243 MB / 0.9181 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00187/0.4435, allocations: 409 kB / 0.9185 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.4439, allocations: 147.4 kB / 0.9186 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.4439, allocations: 0 / 0.9186 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.4397/0.8836, allocations: 29.86 MB / 0.9478 GB, free: 122.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) Environment - environmentSimulation: