Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 252 MB / 267.6 MB, free: 10.95 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.001037/0.001037, allocations: 181.6 kB / 327.3 MB, free: 2.219 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.856/1.856, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0008668/0.0008668, allocations: 99.89 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004746, allocations: 11.22 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.9008 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01484/0.2327, allocations: 18.01 MB / 0.9184 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2428, allocations: 7.691 MB / 0.9259 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2439, allocations: 23.75 kB / 0.9259 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007571/0.2447, allocations: 186.7 kB / 0.9261 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.2465, allocations: 0.6116 MB / 0.9267 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.2483, allocations: 0.7366 MB / 0.9274 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.25, allocations: 1.673 MB / 0.9291 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006591/0.2507, allocations: 407.5 kB / 0.9295 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.2516, allocations: 0.529 MB / 0.93 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.2523, allocations: 0.4902 MB / 0.9305 GB, free: 34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.2525, allocations: 28 kB / 0.9305 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2536, allocations: 0.5964 MB / 0.9311 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2538, allocations: 123.4 kB / 0.9312 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.254, allocations: 149.3 kB / 0.9313 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.2547, allocations: 0.7404 MB / 0.9321 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2547, allocations: 4 kB / 0.9321 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2547, allocations: 3.938 kB / 0.9321 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.2548, allocations: 0 / 0.9321 GB, free: 32.35 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001701/0.2565, allocations: 0.9889 MB / 0.933 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2565, allocations: 12.03 kB / 0.933 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.2567, allocations: 79.06 kB / 0.9331 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.2575, allocations: 486.6 kB / 0.9336 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2575, allocations: 37 kB / 0.9336 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.2576, allocations: 51.94 kB / 0.9337 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.2586, allocations: 0.6333 MB / 0.9343 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2586, allocations: 7.938 kB / 0.9343 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.2587, allocations: 16 kB / 0.9343 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2587, allocations: 16 kB / 0.9343 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/0.2597, allocations: 0.5112 MB / 0.9348 GB, free: 29.36 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.003025/0.2627, allocations: 3.197 MB / 0.9379 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.2634, allocations: 356.9 kB / 0.9383 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.2638, allocations: 236.8 kB / 0.9385 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.2641, allocations: 352.4 kB / 0.9388 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2642, allocations: 42.5 kB / 0.9389 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/0.2642, allocations: 0 / 0.9389 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001968/0.2661, allocations: 0.8661 MB / 0.9397 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2662, allocations: 59.39 kB / 0.9398 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.2667, allocations: 0.5666 MB / 0.9403 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2668, allocations: 33.7 kB / 0.9404 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.2669, allocations: 328.4 kB / 0.9407 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.267, allocations: 130.1 kB / 0.9408 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.267, allocations: 16 kB / 0.9408 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.2671, allocations: 370.8 kB / 0.9412 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.2676, allocations: 213.2 kB / 0.9414 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.2681, allocations: 380 kB / 0.9417 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.2686, allocations: 256.7 kB / 0.942 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2686, allocations: 4 kB / 0.942 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001318/0.2699, allocations: 0.7222 MB / 0.9427 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.27, allocations: 223.6 kB / 0.9429 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2701, allocations: 4 kB / 0.9429 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.2707, allocations: 152.8 kB / 0.9431 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.2713, allocations: 155.7 kB / 0.9432 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/0.2718, allocations: 0.6227 MB / 0.9438 GB, free: 19.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.2725, allocations: 109.4 kB / 0.9439 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.2725, allocations: 35.98 kB / 0.944 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2726, allocations: 11.89 kB / 0.944 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/0.2737, allocations: 0.6189 MB / 0.9446 GB, free: 18.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2737, allocations: 4 kB / 0.9446 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.2737, allocations: 12.5 kB / 0.9446 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.2743, allocations: 159.8 kB / 0.9447 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2743, allocations: 11.98 kB / 0.9447 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.2748, allocations: 87.55 kB / 0.9448 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.2749, allocations: 35.92 kB / 0.9449 GB, free: 18.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.2751, allocations: 264.9 kB / 0.9451 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.2752, allocations: 71.11 kB / 0.9452 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.2766, allocations: 0.6714 MB / 0.9458 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2766, allocations: 4 kB / 0.9458 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2766, allocations: 0 / 0.9458 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.2766, allocations: 3.984 kB / 0.9459 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2787, allocations: 1.405 MB / 0.9472 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2787, allocations: 4.094 kB / 0.9472 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.2791, allocations: 87.89 kB / 0.9473 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.2794, allocations: 132.8 kB / 0.9474 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.2795, allocations: 11.98 kB / 0.9474 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004857/0.28, allocations: 0.6459 MB / 0.9481 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.28, allocations: 0 / 0.9481 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2811, allocations: 0.7204 MB / 0.9488 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.2813, allocations: 204 kB / 0.949 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.2814, allocations: 8 kB / 0.949 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.2818, allocations: 51.95 kB / 0.949 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.2819, allocations: 31.95 kB / 0.9491 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.2819, allocations: 19.98 kB / 0.9491 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000334/0.2823, allocations: 391.1 kB / 0.9495 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2823, allocations: 4 kB / 0.9495 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009318/0.2832, allocations: 387.3 kB / 0.9498 GB, free: 13.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006062/0.2838, allocations: 296.5 kB / 0.9501 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.2856, allocations: 0.9097 MB / 0.951 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2856, allocations: 4 kB / 0.951 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.2862, allocations: 299.9 kB / 0.9513 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.2876, allocations: 291 kB / 0.9516 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2891, allocations: 1.306 MB / 0.9528 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2894, allocations: 0.9116 MB / 0.9537 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2895, allocations: 63.42 kB / 0.9538 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2895, allocations: 0 / 0.9538 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of Templates: time 0.0147/0.3043, allocations: 12.98 MB / 0.9665 GB, free: 12.29 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)