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.481/1.481, allocations: 252 MB / 268 MB, free: 10.86 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.001005/0.001005, allocations: 188.2 kB / 327.6 MB, free: 2.098 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.542/1.542, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0007382/0.0007382, allocations: 91.67 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 11.84 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01674/0.1791, allocations: 25.78 MB / 0.9266 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1902, allocations: 10.71 MB / 0.9371 GB, free: 26.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.1912, allocations: 31.69 kB / 0.9371 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.1919, allocations: 302.2 kB / 0.9374 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1944, allocations: 1.064 MB / 0.9384 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1963, allocations: 0.9274 MB / 0.9394 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.1986, allocations: 3.215 MB / 0.9425 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.1994, allocations: 0.8218 MB / 0.9433 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.2006, allocations: 1.066 MB / 0.9443 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.2018, allocations: 1.012 MB / 0.9453 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.2019, allocations: 40 kB / 0.9454 GB, free: 18.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.2033, allocations: 0.8967 MB / 0.9462 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.2035, allocations: 215.1 kB / 0.9464 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.204, allocations: 0.5264 MB / 0.947 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.2049, allocations: 1.126 MB / 0.9481 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2049, allocations: 4 kB / 0.9481 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2049, allocations: 0 / 0.9481 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2049, allocations: 0 / 0.9481 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001443/0.2064, allocations: 1.157 MB / 0.9492 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2064, allocations: 8.031 kB / 0.9492 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.2066, allocations: 119.6 kB / 0.9493 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.2073, allocations: 0.6583 MB / 0.95 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.2074, allocations: 65 kB / 0.95 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.2075, allocations: 80 kB / 0.9501 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.2082, allocations: 0.5685 MB / 0.9507 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2083, allocations: 0 / 0.9507 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2083, allocations: 20 kB / 0.9507 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2083, allocations: 12 kB / 0.9507 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.209, allocations: 419.7 kB / 0.9511 GB, free: 12.42 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.002842/0.2118, allocations: 2.536 MB / 0.9536 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.2123, allocations: 268.7 kB / 0.9538 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2125, allocations: 140.8 kB / 0.9539 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2127, allocations: 344.4 kB / 0.9543 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2127, allocations: 42.48 kB / 0.9543 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.2128, allocations: 0 / 0.9543 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.0008965/0.2137, allocations: 489.9 kB / 0.9548 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2137, allocations: 55.41 kB / 0.9548 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.2143, allocations: 0.7592 MB / 0.9556 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.2144, allocations: 49.7 kB / 0.9556 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.2146, allocations: 420.9 kB / 0.956 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.2147, allocations: 102.5 kB / 0.9561 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.2147, allocations: 8 kB / 0.9561 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.2148, allocations: 325.9 kB / 0.9564 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2151, allocations: 169.2 kB / 0.9566 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.2158, allocations: 0.7868 MB / 0.9574 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.2164, allocations: 415.6 kB / 0.9578 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2164, allocations: 0 / 0.9578 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000875/0.2172, allocations: 0.5732 MB / 0.9583 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.2173, allocations: 150.8 kB / 0.9585 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2173, allocations: 4 kB / 0.9585 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2173, allocations: 4 kB / 0.9585 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.2184, allocations: 203.7 kB / 0.9587 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/0.2191, allocations: 2.371 MB / 0.961 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.2218, allocations: 0.6867 MB / 0.9617 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.2218, allocations: 23.98 kB / 0.9617 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.2218, allocations: 4 kB / 0.9617 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007276/0.2226, allocations: 454.1 kB / 0.9621 GB, free: 484 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2226, allocations: 4.125 kB / 0.9621 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.2226, allocations: 11.94 kB / 0.9621 GB, free: 468 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.2231, allocations: 135.8 kB / 0.9623 GB, free: 332 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2231, allocations: 7.984 kB / 0.9623 GB, free: 324 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.2258, allocations: 0.675 MB / 0.9629 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.2259, allocations: 24 kB / 0.963 GB, free: 15.62 MB / 0.6198 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.0003726/0.2263, allocations: 293.5 kB / 0.9632 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2264, allocations: 83.14 kB / 0.9633 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009673/0.2274, allocations: 489.4 kB / 0.9638 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2274, allocations: 15.92 kB / 0.9638 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2274, allocations: 0 / 0.9638 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2274, allocations: 0 / 0.9638 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2291, allocations: 1.139 MB / 0.9649 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2291, allocations: 0 / 0.9649 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.2296, allocations: 107.8 kB / 0.965 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2296, allocations: 4 kB / 0.965 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2296, allocations: 12 kB / 0.965 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.2307, allocations: 2.36 MB / 0.9673 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2307, allocations: 4.031 kB / 0.9673 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.2315, allocations: 0.5287 MB / 0.9679 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2318, allocations: 203.9 kB / 0.968 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.2318, allocations: 7.938 kB / 0.9681 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.2323, allocations: 59.81 kB / 0.9681 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.2324, allocations: 27.97 kB / 0.9681 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2324, allocations: 16 kB / 0.9682 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000595/0.233, allocations: 0.5107 MB / 0.9687 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.233, allocations: 0 / 0.9687 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001118/0.2341, allocations: 467.2 kB / 0.9691 GB, free: 9.098 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.0006189/0.2348, allocations: 309.7 kB / 0.9694 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.2368, allocations: 0.74 MB / 0.9701 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2368, allocations: 0 / 0.9701 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.2373, allocations: 208.2 kB / 0.9703 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.2395, allocations: 423.9 kB / 0.9707 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2417, allocations: 1.621 MB / 0.9723 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.2422, allocations: 0.9735 MB / 0.9733 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.2424, allocations: 75.42 kB / 0.9733 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2424, allocations: 3.938 kB / 0.9733 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of Templates: time 0.03052/0.2729, allocations: 27.52 MB / 1 GB, free: 9.312 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)