Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001368/0.001368, allocations: 174 kB / 325.8 MB, free: 2.793 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.549/2.549, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.001336/0.001335, allocations: 84.36 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006489/0.000649, allocations: 13.38 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2297, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03266/0.2624, allocations: 24.41 MB / 0.9229 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.285, allocations: 9.868 MB / 0.9325 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.2873, allocations: 31.69 kB / 0.9325 GB, free: 31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.2894, allocations: 262.2 kB / 0.9328 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.2941, allocations: 0.9413 MB / 0.9337 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.2976, allocations: 0.8549 MB / 0.9346 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.3018, allocations: 2.735 MB / 0.9372 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.3034, allocations: 0.7877 MB / 0.938 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.3059, allocations: 1.016 MB / 0.939 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.3083, allocations: 0.9771 MB / 0.9399 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.3088, allocations: 48 kB / 0.94 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.3113, allocations: 0.8188 MB / 0.9408 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.3118, allocations: 207.2 kB / 0.941 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.3122, allocations: 205.2 kB / 0.9412 GB, free: 22.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.3141, allocations: 1.122 MB / 0.9423 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3141, allocations: 0 / 0.9423 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3141, allocations: 0 / 0.9423 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.3142, allocations: 0 / 0.9423 GB, free: 20.99 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002778/0.317, allocations: 1.166 MB / 0.9434 GB, free: 19.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.317, allocations: 8.031 kB / 0.9434 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.3174, allocations: 119.6 kB / 0.9435 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.319, allocations: 0.6201 MB / 0.9441 GB, free: 18.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.3191, allocations: 61 kB / 0.9442 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.3193, allocations: 80 kB / 0.9443 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3207, allocations: 0.5647 MB / 0.9448 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.3207, allocations: 0 / 0.9448 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.3208, allocations: 20 kB / 0.9448 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3208, allocations: 12 kB / 0.9449 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3221, allocations: 419.6 kB / 0.9453 GB, free: 17.82 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.005855/0.3279, allocations: 2.552 MB / 0.9477 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/0.3288, allocations: 266.4 kB / 0.948 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.3292, allocations: 144.7 kB / 0.9481 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.3295, allocations: 340.4 kB / 0.9485 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3296, allocations: 38.56 kB / 0.9485 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/0.3296, allocations: 0 / 0.9485 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.001811/0.3314, allocations: 485.9 kB / 0.949 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3315, allocations: 63.39 kB / 0.949 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3326, allocations: 0.7436 MB / 0.9497 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.3328, allocations: 49.64 kB / 0.9498 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.3333, allocations: 436.9 kB / 0.9502 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.3334, allocations: 94.56 kB / 0.9503 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.3334, allocations: 12 kB / 0.9503 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.3335, allocations: 333.9 kB / 0.9506 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.3341, allocations: 153 kB / 0.9508 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.3355, allocations: 0.7712 MB / 0.9515 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.3362, allocations: 241.1 kB / 0.9518 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3362, allocations: 0 / 0.9518 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001707/0.3379, allocations: 0.5574 MB / 0.9523 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/0.338, allocations: 149.2 kB / 0.9524 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.338, allocations: 224 / 0.9524 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.338, allocations: 8 kB / 0.9525 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.3402, allocations: 215.6 kB / 0.9527 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.3414, allocations: 2.356 MB / 0.955 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/0.3469, allocations: 0.6829 MB / 0.9556 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.3471, allocations: 31.92 kB / 0.9557 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3472, allocations: 4 kB / 0.9557 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.3485, allocations: 442.1 kB / 0.9561 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3486, allocations: 4.188 kB / 0.9561 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3486, allocations: 11.94 kB / 0.9561 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.3497, allocations: 139.8 kB / 0.9562 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3497, allocations: 4 kB / 0.9562 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/0.3551, allocations: 0.675 MB / 0.9569 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.3553, allocations: 27.98 kB / 0.9569 GB, free: 5.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 58 * 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.0006188/0.3559, allocations: 297.5 kB / 0.9572 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.3561, allocations: 78.97 kB / 0.9573 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.3576, allocations: 489.2 kB / 0.9578 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3577, allocations: 8 kB / 0.9578 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3577, allocations: 0 / 0.9578 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3577, allocations: 3.984 kB / 0.9578 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.3602, allocations: 1.127 MB / 0.9589 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3602, allocations: 0 / 0.9589 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.361, allocations: 107.8 kB / 0.959 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3611, allocations: 4 kB / 0.959 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.3611, allocations: 11.98 kB / 0.959 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009273/0.3621, allocations: 2.352 MB / 0.9613 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.3621, allocations: 8.203 kB / 0.9613 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3634, allocations: 0.5324 MB / 0.9618 GB, free: 44 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.3639, allocations: 207.8 kB / 0.962 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.364, allocations: 11.94 kB / 0.962 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.3648, allocations: 51.89 kB / 0.9621 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.365, allocations: 31.95 kB / 0.9621 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.365, allocations: 12 kB / 0.9621 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009978/0.366, allocations: 0.5029 MB / 0.9626 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3661, allocations: 0 / 0.9626 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001926/0.368, allocations: 459.2 kB / 0.963 GB, free: 14.77 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 (35): * Single equations (assignments): 29 * 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.0009829/0.369, allocations: 318.4 kB / 0.9633 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.3728, allocations: 0.7244 MB / 0.964 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3729, allocations: 0 / 0.964 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009833/0.3739, allocations: 203.8 kB / 0.9642 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/0.3781, allocations: 437.5 kB / 0.9647 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.3821, allocations: 1.518 MB / 0.9661 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.383, allocations: 0.9735 MB / 0.9671 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001601/0.3846, allocations: 182 kB / 0.9673 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.3849, allocations: 67.42 kB / 0.9673 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.3849, allocations: 0 / 0.9673 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.06154/0.4465, allocations: 19.43 MB / 0.9863 GB, free: 7.109 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)