Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00881/0.00881, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7645/0.7645, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 223.2 MB / 406.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 102.7 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 12 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.546, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.877/1.423, allocations: 356.7 MB / 0.9978 GB, free: 472 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/1.424, allocations: 99.11 kB / 0.9979 GB, free: 412 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.123/2.547, allocations: 295.3 MB / 1.286 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.956e-06/2.547, allocations: 0 / 1.286 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.193e-05/2.547, allocations: 23.94 kB / 1.286 GB, free: 35.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001813/2.549, allocations: 1.035 MB / 1.287 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/2.549, allocations: 8.031 kB / 1.287 GB, free: 34.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/2.549, allocations: 79.06 kB / 1.287 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008907/2.55, allocations: 0.5782 MB / 1.288 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/2.55, allocations: 28.66 kB / 1.288 GB, free: 33.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/2.55, allocations: 55.89 kB / 1.288 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/2.551, allocations: 302 kB / 1.288 GB, free: 33.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/2.551, allocations: 0 / 1.288 GB, free: 33.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/2.551, allocations: 12 kB / 1.288 GB, free: 33.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/2.551, allocations: 16.66 kB / 1.288 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/2.551, allocations: 254.4 kB / 1.289 GB, free: 33.04 MB / 0.6823 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.002089/2.553, allocations: 1.569 MB / 1.29 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/2.554, allocations: 230.4 kB / 1.29 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/2.554, allocations: 417.6 kB / 1.291 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/2.554, allocations: 38.56 kB / 1.291 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/2.554, allocations: 0 / 1.291 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0006791/2.555, allocations: 358.9 kB / 1.291 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/2.555, allocations: 55.41 kB / 1.291 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/2.555, allocations: 0.5698 MB / 1.292 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/2.555, allocations: 29.7 kB / 1.292 GB, free: 29.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/2.555, allocations: 300.5 kB / 1.292 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/2.556, allocations: 67 kB / 1.292 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/2.556, allocations: 16 kB / 1.292 GB, free: 29.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/2.556, allocations: 370.8 kB / 1.293 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/2.556, allocations: 136.7 kB / 1.293 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/2.556, allocations: 229.7 kB / 1.293 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/2.556, allocations: 172.5 kB / 1.293 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.556, allocations: 0 / 1.293 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006804/2.557, allocations: 456.6 kB / 1.293 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/2.557, allocations: 446.3 kB / 1.294 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/2.557, allocations: 7.984 kB / 1.294 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/2.557, allocations: 4 kB / 1.294 GB, free: 27.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/2.558, allocations: 135.8 kB / 1.294 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00048/2.559, allocations: 1.199 MB / 1.295 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/2.559, allocations: 63.48 kB / 1.295 GB, free: 25.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/2.559, allocations: 20 kB / 1.295 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/2.559, allocations: 4 kB / 1.295 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006598/2.56, allocations: 379.8 kB / 1.296 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/2.56, allocations: 0 / 1.296 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/2.56, allocations: 8.031 kB / 1.296 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/2.56, allocations: 123.9 kB / 1.296 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/2.56, allocations: 7.938 kB / 1.296 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/2.561, allocations: 55.66 kB / 1.296 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/2.561, allocations: 23.92 kB / 1.296 GB, free: 25.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/2.561, allocations: 273 kB / 1.296 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/2.561, allocations: 63.16 kB / 1.296 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/2.562, allocations: 345.7 kB / 1.297 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/2.562, allocations: 4 kB / 1.297 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/2.562, allocations: 0 / 1.297 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.562, allocations: 0 / 1.297 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/2.563, allocations: 0.9284 MB / 1.297 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/2.563, allocations: 0 / 1.297 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/2.564, allocations: 64.08 kB / 1.298 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/2.564, allocations: 8 kB / 1.298 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/2.564, allocations: 8 kB / 1.298 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/2.564, allocations: 1.18 MB / 1.299 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.564, allocations: 12.16 kB / 1.299 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/2.565, allocations: 0.5784 MB / 1.299 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/2.565, allocations: 172.3 kB / 1.299 GB, free: 21.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/2.565, allocations: 12.06 kB / 1.299 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/2.565, allocations: 39.89 kB / 1.299 GB, free: 21.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/2.565, allocations: 23.78 kB / 1.299 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/2.565, allocations: 12 kB / 1.3 GB, free: 21.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000472/2.566, allocations: 451 kB / 1.3 GB, free: 20.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.566, allocations: 0 / 1.3 GB, free: 20.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009744/2.567, allocations: 323.7 kB / 1.3 GB, free: 20.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006693/2.567, allocations: 385.4 kB / 1.301 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001175/2.569, allocations: 0.5149 MB / 1.301 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.569, allocations: 7.938 kB / 1.301 GB, free: 19.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/2.569, allocations: 137.8 kB / 1.301 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/2.57, allocations: 289.4 kB / 1.302 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/2.572, allocations: 1.21 MB / 1.303 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/2.572, allocations: 0.9061 MB / 1.304 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004563/2.573, allocations: 124.9 kB / 1.304 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/2.573, allocations: 55.42 kB / 1.304 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/2.573, allocations: 0 / 1.304 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.01968/2.593, allocations: 12.05 MB / 1.316 GB, free: 5.016 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)