Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001421/0.001421, allocations: 175.9 kB / 326.2 MB, free: 2.887 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.459/2.459, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009266/0.0009264, allocations: 102.1 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004665, allocations: 11.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.445, allocations: 393.2 MB / 1.283 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004359/1.445, allocations: 110.1 kB / 1.284 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.909/3.354, allocations: 351 MB / 1.626 GB, free: 128 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/3.354, allocations: 0 / 1.626 GB, free: 128 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.965e-05/3.354, allocations: 35.92 kB / 1.626 GB, free: 128 MB / 0.8855 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.003887/3.358, allocations: 1.32 MB / 1.628 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/3.358, allocations: 12.03 kB / 1.628 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/3.359, allocations: 115.7 kB / 1.628 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/3.361, allocations: 0.6857 MB / 1.628 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/3.361, allocations: 57.38 kB / 1.628 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/3.362, allocations: 92.38 kB / 1.629 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/3.363, allocations: 0.5418 MB / 1.629 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/3.363, allocations: 11.94 kB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/3.363, allocations: 20 kB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/3.363, allocations: 12 kB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/3.364, allocations: 403.7 kB / 1.63 GB, free: 124.6 MB / 0.8855 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.005972/3.37, allocations: 2.517 MB / 1.632 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/3.371, allocations: 267.7 kB / 1.632 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/3.372, allocations: 140.8 kB / 1.632 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/3.372, allocations: 344.4 kB / 1.633 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/3.372, allocations: 38.56 kB / 1.633 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 3.707e-06/3.372, allocations: 0 / 1.633 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.001894/3.374, allocations: 482.1 kB / 1.633 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/3.374, allocations: 55.34 kB / 1.633 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/3.375, allocations: 0.7629 MB / 1.634 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/3.375, allocations: 45.7 kB / 1.634 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/3.376, allocations: 450 kB / 1.634 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/3.376, allocations: 94.64 kB / 1.635 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/3.376, allocations: 12 kB / 1.635 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/3.376, allocations: 326 kB / 1.635 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/3.377, allocations: 153 kB / 1.635 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/3.378, allocations: 0.797 MB / 1.636 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/3.379, allocations: 238.4 kB / 1.636 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/3.379, allocations: 0 / 1.636 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001849/3.38, allocations: 0.5497 MB / 1.637 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/3.381, allocations: 154.7 kB / 1.637 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/3.381, allocations: 4 kB / 1.637 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/3.381, allocations: 7.984 kB / 1.637 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/3.383, allocations: 203.6 kB / 1.637 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/3.384, allocations: 2.372 MB / 1.639 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/3.388, allocations: 395.4 kB / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/3.388, allocations: 27.98 kB / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/3.388, allocations: 8 kB / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/3.389, allocations: 438.4 kB / 1.64 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/3.389, allocations: 8.031 kB / 1.64 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/3.389, allocations: 4 kB / 1.64 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/3.39, allocations: 143.8 kB / 1.64 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/3.39, allocations: 4 kB / 1.64 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/3.394, allocations: 383.6 kB / 1.641 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/3.394, allocations: 27.98 kB / 1.641 GB, free: 112.6 MB / 0.8855 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.0006282/3.394, allocations: 297.5 kB / 1.641 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/3.395, allocations: 82.97 kB / 1.641 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/3.396, allocations: 481.6 kB / 1.641 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/3.396, allocations: 4 kB / 1.641 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/3.396, allocations: 0 / 1.641 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/3.396, allocations: 0 / 1.641 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/3.399, allocations: 1.146 MB / 1.643 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/3.399, allocations: 0 / 1.643 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/3.4, allocations: 111.9 kB / 1.643 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/3.4, allocations: 4 kB / 1.643 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/3.4, allocations: 8 kB / 1.643 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/3.401, allocations: 2.36 MB / 1.645 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.401, allocations: 0 / 1.645 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/3.402, allocations: 0.5287 MB / 1.645 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/3.402, allocations: 203.9 kB / 1.646 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/3.403, allocations: 8 kB / 1.646 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/3.403, allocations: 63.78 kB / 1.646 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/3.404, allocations: 19.97 kB / 1.646 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/3.404, allocations: 19.98 kB / 1.646 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008507/3.404, allocations: 0.5029 MB / 1.646 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/3.404, allocations: 0 / 1.646 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001999/3.406, allocations: 0.4915 MB / 1.647 GB, free: 106.1 MB / 0.8855 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.001139/3.408, allocations: 488.1 kB / 1.647 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003592/3.411, allocations: 0.7315 MB / 1.648 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/3.411, allocations: 384 / 1.648 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/3.412, allocations: 207.8 kB / 1.648 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/3.416, allocations: 430.3 kB / 1.649 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/3.419, allocations: 1.519 MB / 1.65 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/3.42, allocations: 0.9658 MB / 1.651 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001328/3.421, allocations: 161.9 kB / 1.651 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/3.421, allocations: 71.41 kB / 1.651 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/3.421, allocations: 0 / 1.651 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.05504/3.476, allocations: 20.34 MB / 1.671 GB, free: 81.39 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)