Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 177.2 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.677/2.677, allocations: 205.4 MB / 0.5767 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 98.83 kB / 0.6813 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004848, allocations: 15.28 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.04309/0.2676, allocations: 28.54 MB / 0.9269 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03002/0.2977, allocations: 13.14 MB / 0.9398 GB, free: 23.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.2995, allocations: 27.75 kB / 0.9398 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.301, allocations: 282.1 kB / 0.94 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.3061, allocations: 0.9188 MB / 0.9409 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.3101, allocations: 0.7079 MB / 0.9416 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004798/0.3149, allocations: 2.416 MB / 0.944 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.3165, allocations: 0.5307 MB / 0.9445 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.3198, allocations: 0.8205 MB / 0.9453 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.3219, allocations: 0.6263 MB / 0.9459 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.3222, allocations: 32 kB / 0.946 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.3245, allocations: 0.5107 MB / 0.9465 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.3249, allocations: 127.3 kB / 0.9466 GB, free: 16.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.3255, allocations: 177.3 kB / 0.9467 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.3275, allocations: 0.752 MB / 0.9475 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3275, allocations: 0 / 0.9475 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.025e-06/0.3275, allocations: 0 / 0.9475 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.3276, allocations: 0 / 0.9475 GB, free: 15.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003012/0.3306, allocations: 1.016 MB / 0.9485 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3307, allocations: 12.03 kB / 0.9485 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.331, allocations: 95.81 kB / 0.9486 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.3326, allocations: 0.5425 MB / 0.9491 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.3327, allocations: 41 kB / 0.9491 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.3328, allocations: 52 kB / 0.9492 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3344, allocations: 410.4 kB / 0.9496 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.3344, allocations: 0 / 0.9496 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.3345, allocations: 20 kB / 0.9496 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.3346, allocations: 16 kB / 0.9496 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3359, allocations: 307.8 kB / 0.9499 GB, free: 13.05 MB / 0.6042 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.00434/0.3402, allocations: 1.853 MB / 0.9517 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.3408, allocations: 162.5 kB / 0.9519 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.3411, allocations: 92.73 kB / 0.952 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.3415, allocations: 340.4 kB / 0.9523 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3415, allocations: 38.56 kB / 0.9523 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.896e-06/0.3415, allocations: 0 / 0.9523 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001148/0.3427, allocations: 314.2 kB / 0.9526 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3427, allocations: 63.34 kB / 0.9527 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.3437, allocations: 0.6608 MB / 0.9533 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.3438, allocations: 37.7 kB / 0.9534 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3441, allocations: 368 kB / 0.9537 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.3442, allocations: 63.09 kB / 0.9538 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3442, allocations: 11.94 kB / 0.9538 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3443, allocations: 378.7 kB / 0.9542 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.3447, allocations: 111.9 kB / 0.9543 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.3452, allocations: 174 kB / 0.9544 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.3457, allocations: 130.3 kB / 0.9545 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3457, allocations: 0 / 0.9545 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001121/0.3468, allocations: 382.5 kB / 0.9549 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.3469, allocations: 114.6 kB / 0.955 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3469, allocations: 4 kB / 0.955 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3469, allocations: 0 / 0.955 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.3488, allocations: 171.8 kB / 0.9552 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3501, allocations: 2.36 MB / 0.9575 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3513, allocations: 87.69 kB / 0.9576 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.3514, allocations: 16 kB / 0.9576 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3514, allocations: 4 kB / 0.9576 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009121/0.3523, allocations: 288 kB / 0.9579 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3523, allocations: 4 kB / 0.9579 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.3523, allocations: 0 / 0.9579 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.3531, allocations: 107.8 kB / 0.958 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3532, allocations: 7.938 kB / 0.958 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3543, allocations: 91.53 kB / 0.9581 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.3544, allocations: 12 kB / 0.9581 GB, free: 4.242 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.3548, allocations: 265 kB / 0.9583 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.355, allocations: 67.16 kB / 0.9584 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000993/0.356, allocations: 309.7 kB / 0.9587 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.356, allocations: 7.984 kB / 0.9587 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.356, allocations: 0 / 0.9587 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.356, allocations: 0 / 0.9587 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3579, allocations: 0.8979 MB / 0.9596 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.358, allocations: 4 kB / 0.9596 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.3586, allocations: 79.94 kB / 0.9597 GB, free: 2.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.3586, allocations: 4 kB / 0.9597 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.3587, allocations: 11.98 kB / 0.9597 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.3596, allocations: 2.348 MB / 0.962 GB, free: 88 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3597, allocations: 4.031 kB / 0.962 GB, free: 84 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3607, allocations: 407.1 kB / 0.9624 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.3611, allocations: 184 kB / 0.9625 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.3613, allocations: 4 kB / 0.9625 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.3621, allocations: 47.95 kB / 0.9626 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3622, allocations: 19.97 kB / 0.9626 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3623, allocations: 4 kB / 0.9626 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001001/0.3633, allocations: 467 kB / 0.9631 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3633, allocations: 0 / 0.9631 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001483/0.3648, allocations: 351 kB / 0.9634 GB, free: 14.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007602/0.3656, allocations: 244.1 kB / 0.9636 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002956/0.3686, allocations: 494.5 kB / 0.9641 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.3687, allocations: 0 / 0.9641 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.3695, allocations: 151.9 kB / 0.9642 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/0.3733, allocations: 382.8 kB / 0.9646 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.3767, allocations: 1.315 MB / 0.9659 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/0.3775, allocations: 0.9294 MB / 0.9668 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008704/0.3784, allocations: 116.6 kB / 0.9669 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3786, allocations: 55.42 kB / 0.967 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.3786, allocations: 0 / 0.967 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.03764/0.4163, allocations: 12.06 MB / 0.9787 GB, free: 14.98 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)