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.341/1.341, allocations: 252 MB / 267.9 MB, free: 10.93 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.001029/0.001029, allocations: 181.7 kB / 327.6 MB, free: 2.16 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.593/1.593, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0008177/0.0008176, allocations: 88.88 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 11.97 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7719/0.9595, allocations: 393.5 MB / 1.285 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.9598, allocations: 99.88 kB / 1.286 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.006/1.966, allocations: 351 MB / 1.628 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/1.966, allocations: 0 / 1.628 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000101/1.966, allocations: 35.98 kB / 1.628 GB, free: 98.2 MB / 0.8698 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.002495/1.968, allocations: 1.311 MB / 1.63 GB, free: 96.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.968, allocations: 12.03 kB / 1.63 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/1.969, allocations: 115.7 kB / 1.63 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.97, allocations: 0.7122 MB / 1.63 GB, free: 95.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/1.97, allocations: 61.38 kB / 1.631 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.97, allocations: 88.38 kB / 1.631 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/1.971, allocations: 0.5497 MB / 1.631 GB, free: 95.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.971, allocations: 3.938 kB / 1.631 GB, free: 95.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/1.971, allocations: 20 kB / 1.631 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.971, allocations: 12 kB / 1.631 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/1.972, allocations: 399.7 kB / 1.632 GB, free: 94.8 MB / 0.8698 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.003202/1.975, allocations: 2.513 MB / 1.634 GB, free: 92.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.975, allocations: 271.3 kB / 1.634 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/1.976, allocations: 144.8 kB / 1.634 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.976, allocations: 344.4 kB / 1.635 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.976, allocations: 42.5 kB / 1.635 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 2.876e-06/1.976, allocations: 0 / 1.635 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001018/1.977, allocations: 478.4 kB / 1.635 GB, free: 90.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/1.977, allocations: 59.34 kB / 1.635 GB, free: 90.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/1.978, allocations: 0.7513 MB / 1.636 GB, free: 89.97 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/1.978, allocations: 49.7 kB / 1.636 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/1.978, allocations: 442.6 kB / 1.637 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/1.978, allocations: 102.5 kB / 1.637 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/1.978, allocations: 12 kB / 1.637 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/1.978, allocations: 326 kB / 1.637 GB, free: 89.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/1.979, allocations: 153 kB / 1.637 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/1.979, allocations: 0.797 MB / 1.638 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/1.98, allocations: 395.6 kB / 1.638 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.98, allocations: 0 / 1.638 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009301/1.981, allocations: 0.5497 MB / 1.639 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/1.981, allocations: 154.9 kB / 1.639 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.981, allocations: 0 / 1.639 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.981, allocations: 4 kB / 1.639 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.982, allocations: 207.6 kB / 1.639 GB, free: 86.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/1.983, allocations: 2.367 MB / 1.641 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.984, allocations: 391.7 kB / 1.642 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/1.984, allocations: 27.98 kB / 1.642 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.984, allocations: 4 kB / 1.642 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007077/1.985, allocations: 442.1 kB / 1.642 GB, free: 83.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.985, allocations: 0 / 1.642 GB, free: 83.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/1.985, allocations: 4 kB / 1.642 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/1.986, allocations: 143.8 kB / 1.642 GB, free: 83.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.986, allocations: 4 kB / 1.642 GB, free: 83.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.987, allocations: 383.8 kB / 1.643 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/1.987, allocations: 27.98 kB / 1.643 GB, free: 82.64 MB / 0.8698 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.000378/1.988, allocations: 305.5 kB / 1.643 GB, free: 82.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.988, allocations: 78.97 kB / 1.643 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/1.989, allocations: 489.4 kB / 1.644 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.989, allocations: 4 kB / 1.644 GB, free: 81.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.989, allocations: 0 / 1.644 GB, free: 81.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.989, allocations: 3.984 kB / 1.644 GB, free: 81.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/1.99, allocations: 1.137 MB / 1.645 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.99, allocations: 128 / 1.645 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/1.991, allocations: 115.8 kB / 1.645 GB, free: 80.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/1.991, allocations: 4 kB / 1.645 GB, free: 80.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.991, allocations: 8 kB / 1.645 GB, free: 80.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006032/1.991, allocations: 2.356 MB / 1.647 GB, free: 77.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.991, allocations: 4.031 kB / 1.647 GB, free: 77.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/1.992, allocations: 0.5328 MB / 1.648 GB, free: 77.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.992, allocations: 196.1 kB / 1.648 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.992, allocations: 11.94 kB / 1.648 GB, free: 77.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/1.993, allocations: 67.83 kB / 1.648 GB, free: 77.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/1.993, allocations: 19.97 kB / 1.648 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/1.993, allocations: 15.98 kB / 1.648 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004901/1.993, allocations: 0.499 MB / 1.648 GB, free: 76.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.993, allocations: 4 kB / 1.648 GB, free: 76.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001369/1.995, allocations: 0.5071 MB / 1.649 GB, free: 76.08 MB / 0.8698 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.0009181/1.996, allocations: 483.9 kB / 1.649 GB, free: 75.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001965/1.998, allocations: 0.728 MB / 1.65 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.998, allocations: 0 / 1.65 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/1.998, allocations: 215.7 kB / 1.65 GB, free: 74.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/2, allocations: 412.9 kB / 1.651 GB, free: 74.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/2.002, allocations: 1.519 MB / 1.652 GB, free: 72.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/2.003, allocations: 0.9697 MB / 1.653 GB, free: 71.72 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009084/2.004, allocations: 161.9 kB / 1.653 GB, free: 71.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/2.004, allocations: 63.42 kB / 1.653 GB, free: 71.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/2.004, allocations: 0 / 1.653 GB, free: 71.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02847/2.032, allocations: 20.72 MB / 1.674 GB, free: 51.05 MB / 0.8698 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)