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.586/1.586, allocations: 252 MB / 267.6 MB, free: 10.9 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.0021/0.0021, allocations: 182.2 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.000758/0.0007579, allocations: 86.05 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 11.31 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2065, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01688/0.2234, allocations: 24.42 MB / 0.9247 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.2352, allocations: 9.857 MB / 0.9343 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.2363, allocations: 31.69 kB / 0.9343 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.237, allocations: 270.2 kB / 0.9346 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.2392, allocations: 0.9301 MB / 0.9355 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.2412, allocations: 0.8675 MB / 0.9363 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.2432, allocations: 2.717 MB / 0.939 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.2439, allocations: 0.7601 MB / 0.9397 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.2451, allocations: 1.02 MB / 0.9407 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2461, allocations: 0.9733 MB / 0.9417 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2463, allocations: 47.88 kB / 0.9417 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.2477, allocations: 0.8266 MB / 0.9425 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2479, allocations: 207.2 kB / 0.9427 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.248, allocations: 205.2 kB / 0.9429 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009615/0.249, allocations: 1.118 MB / 0.944 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.249, allocations: 0 / 0.944 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.249, allocations: 0 / 0.944 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.2491, allocations: 0 / 0.944 GB, free: 19.51 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.001694/0.2508, allocations: 1.165 MB / 0.9452 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2508, allocations: 8.031 kB / 0.9452 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.251, allocations: 118.7 kB / 0.9453 GB, free: 18.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.2518, allocations: 0.6162 MB / 0.9459 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.2519, allocations: 61 kB / 0.9459 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.252, allocations: 88 kB / 0.946 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.2528, allocations: 0.5646 MB / 0.9466 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2529, allocations: 0 / 0.9466 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.2529, allocations: 24 kB / 0.9466 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2529, allocations: 15.94 kB / 0.9466 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.2536, allocations: 411.7 kB / 0.947 GB, free: 16.33 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.003009/0.2566, allocations: 2.544 MB / 0.9495 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.2571, allocations: 264.2 kB / 0.9498 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.2573, allocations: 140.8 kB / 0.9499 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.2576, allocations: 344.4 kB / 0.9502 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.2576, allocations: 30.56 kB / 0.9502 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.2576, allocations: 0 / 0.9502 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.0009859/0.2586, allocations: 489.8 kB / 0.9507 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2586, allocations: 51.41 kB / 0.9508 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.2593, allocations: 0.7553 MB / 0.9515 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.2594, allocations: 49.7 kB / 0.9515 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.2597, allocations: 429.3 kB / 0.952 GB, free: 11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.2598, allocations: 102.5 kB / 0.9521 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.2598, allocations: 8 kB / 0.9521 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.2599, allocations: 329.9 kB / 0.9524 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.2602, allocations: 157 kB / 0.9525 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.2609, allocations: 0.7789 MB / 0.9533 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2613, allocations: 229.1 kB / 0.9535 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2613, allocations: 224 / 0.9535 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000942/0.2623, allocations: 0.5496 MB / 0.954 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.2624, allocations: 154.9 kB / 0.9542 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2624, allocations: 0 / 0.9542 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2624, allocations: 8 kB / 0.9542 GB, free: 8.461 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.2637, allocations: 203.6 kB / 0.9544 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.2648, allocations: 2.372 MB / 0.9567 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.2676, allocations: 0.6866 MB / 0.9574 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.2677, allocations: 23.98 kB / 0.9574 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.2677, allocations: 4 kB / 0.9574 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008896/0.2686, allocations: 442.3 kB / 0.9578 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2686, allocations: 4 kB / 0.9578 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.2686, allocations: 8.031 kB / 0.9578 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.2692, allocations: 139.8 kB / 0.958 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2692, allocations: 8.188 kB / 0.958 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.2718, allocations: 0.6866 MB / 0.9586 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2719, allocations: 27.98 kB / 0.9587 GB, free: 3.773 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.0003744/0.2723, allocations: 289.5 kB / 0.9589 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.2724, allocations: 75.06 kB / 0.959 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.2733, allocations: 489.5 kB / 0.9595 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.2733, allocations: 4 kB / 0.9595 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2733, allocations: 4 kB / 0.9595 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2733, allocations: 3.953 kB / 0.9595 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2748, allocations: 1.135 MB / 0.9606 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2748, allocations: 4.031 kB / 0.9606 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.2752, allocations: 103.9 kB / 0.9607 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.2752, allocations: 7.953 kB / 0.9607 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2753, allocations: 8 kB / 0.9607 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009092/0.2762, allocations: 2.352 MB / 0.963 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2762, allocations: 288 / 0.963 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/0.277, allocations: 0.54 MB / 0.9635 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.2772, allocations: 199.9 kB / 0.9637 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.2773, allocations: 15.98 kB / 0.9638 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.2778, allocations: 51.89 kB / 0.9638 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.2778, allocations: 23.95 kB / 0.9638 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2779, allocations: 15.98 kB / 0.9638 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000672/0.2786, allocations: 0.5068 MB / 0.9643 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2786, allocations: 4 kB / 0.9643 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001186/0.2798, allocations: 463.2 kB / 0.9648 GB, free: 13.29 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.0006345/0.2804, allocations: 317.9 kB / 0.9651 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.2828, allocations: 0.72 MB / 0.9658 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2828, allocations: 0 / 0.9658 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.2833, allocations: 208.8 kB / 0.966 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.2854, allocations: 423.8 kB / 0.9664 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.2876, allocations: 1.544 MB / 0.9679 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.2882, allocations: 0.9734 MB / 0.9689 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.2884, allocations: 75.41 kB / 0.9689 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2884, allocations: 0 / 0.9689 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.03576/0.3242, allocations: 27.55 MB / 0.9958 GB, free: 13.56 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)