Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 178.1 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008393, allocations: 91.91 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 11.72 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01865/0.2278, allocations: 26.13 MB / 0.9223 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.2411, allocations: 10.85 MB / 0.9329 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.2426, allocations: 39.62 kB / 0.9329 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.2436, allocations: 290.2 kB / 0.9332 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2467, allocations: 1.069 MB / 0.9342 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.249, allocations: 0.9274 MB / 0.9351 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.2516, allocations: 3.211 MB / 0.9383 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2528, allocations: 0.8239 MB / 0.9391 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.2547, allocations: 1.059 MB / 0.9401 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2563, allocations: 1.004 MB / 0.9411 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003653/0.2567, allocations: 40 kB / 0.9411 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.2586, allocations: 0.8967 MB / 0.942 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.2589, allocations: 231 kB / 0.9422 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.2595, allocations: 0.4935 MB / 0.9427 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2606, allocations: 1.134 MB / 0.9438 GB, free: 19.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2606, allocations: 0 / 0.9438 GB, free: 19.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2606, allocations: 0 / 0.9438 GB, free: 19.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.2607, allocations: 0 / 0.9438 GB, free: 19.81 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.001524/0.2622, allocations: 1.15 MB / 0.9449 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2622, allocations: 8.031 kB / 0.9449 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.2624, allocations: 127.6 kB / 0.945 GB, free: 18.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.2632, allocations: 0.6506 MB / 0.9457 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.2633, allocations: 60.94 kB / 0.9457 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2634, allocations: 84 kB / 0.9458 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.2641, allocations: 0.557 MB / 0.9464 GB, free: 17.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2642, allocations: 7.922 kB / 0.9464 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.2642, allocations: 23.98 kB / 0.9464 GB, free: 17.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2642, allocations: 16 kB / 0.9464 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.2649, allocations: 411.7 kB / 0.9468 GB, free: 16.61 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.002886/0.2678, allocations: 2.532 MB / 0.9493 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.2682, allocations: 274.4 kB / 0.9495 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.2685, allocations: 140.8 kB / 0.9497 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.2687, allocations: 344.4 kB / 0.95 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.2687, allocations: 34.56 kB / 0.95 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 2.755e-06/0.2687, allocations: 4 kB / 0.95 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.0009663/0.2697, allocations: 489.8 kB / 0.9505 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2698, allocations: 59.41 kB / 0.9506 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.2704, allocations: 0.7553 MB / 0.9513 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.2705, allocations: 45.7 kB / 0.9513 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.2707, allocations: 432.8 kB / 0.9518 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.2708, allocations: 98.56 kB / 0.9519 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.2708, allocations: 49.69 kB / 0.9519 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.2709, allocations: 329.9 kB / 0.9522 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2712, allocations: 173 kB / 0.9524 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.2719, allocations: 0.7907 MB / 0.9532 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.2726, allocations: 407.6 kB / 0.9535 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2726, allocations: 4 kB / 0.9535 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000936/0.2735, allocations: 0.5692 MB / 0.9541 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.2736, allocations: 150.9 kB / 0.9542 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2736, allocations: 4 kB / 0.9542 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2736, allocations: 4 kB / 0.9543 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.2747, allocations: 207.8 kB / 0.9544 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008196/0.2756, allocations: 2.367 MB / 0.9568 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.2782, allocations: 0.6945 MB / 0.9574 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.2783, allocations: 23.98 kB / 0.9575 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.2783, allocations: 4 kB / 0.9575 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007488/0.279, allocations: 450.3 kB / 0.9579 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2791, allocations: 48 / 0.9579 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.2791, allocations: 11.92 kB / 0.9579 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.2796, allocations: 139.8 kB / 0.958 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.2796, allocations: 4 kB / 0.958 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.282, allocations: 0.683 MB / 0.9587 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.2821, allocations: 23.98 kB / 0.9587 GB, free: 3.734 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003709/0.2824, allocations: 289.5 kB / 0.959 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2826, allocations: 78.97 kB / 0.9591 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.2835, allocations: 493.4 kB / 0.9596 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2835, allocations: 4 kB / 0.9596 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2835, allocations: 0 / 0.9596 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2835, allocations: 0 / 0.9596 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2849, allocations: 1.143 MB / 0.9607 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.285, allocations: 4 kB / 0.9607 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.2854, allocations: 103.9 kB / 0.9608 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2854, allocations: 8.125 kB / 0.9608 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2854, allocations: 8 kB / 0.9608 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/0.2863, allocations: 2.352 MB / 0.9631 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2863, allocations: 7.969 kB / 0.9631 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.2871, allocations: 0.5288 MB / 0.9636 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.2874, allocations: 188 kB / 0.9638 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.2875, allocations: 15.92 kB / 0.9638 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.2879, allocations: 59.8 kB / 0.9639 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.288, allocations: 19.97 kB / 0.9639 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.288, allocations: 19.98 kB / 0.9639 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005815/0.2886, allocations: 0.5146 MB / 0.9644 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2886, allocations: 0 / 0.9644 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001242/0.2899, allocations: 459.3 kB / 0.9648 GB, free: 13.25 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006446/0.2905, allocations: 333.7 kB / 0.9652 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.2927, allocations: 0.728 MB / 0.9659 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2927, allocations: 0 / 0.9659 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.2932, allocations: 208.9 kB / 0.9661 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.2954, allocations: 425 kB / 0.9665 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.2976, allocations: 1.606 MB / 0.968 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.2982, allocations: 0.9696 MB / 0.969 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.2983, allocations: 71.41 kB / 0.9691 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of SimCode: time 4.7e-07/0.2983, allocations: 0 / 0.9691 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of Templates: time 0.03372/0.3321, allocations: 27.53 MB / 0.9959 GB, free: 13.47 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)