Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007557/0.007557, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7847/0.7847, 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.625/1.625, 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.001132/0.001132, allocations: 92.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 12 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.508, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.57, allocations: 357 MB / 0.9981 GB, free: 212 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/1.571, allocations: 96.94 kB / 0.9982 GB, free: 156 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9679/2.539, allocations: 241.4 MB / 1.234 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/2.539, allocations: 3.938 kB / 1.234 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.841e-05/2.539, allocations: 20 kB / 1.234 GB, free: 89.93 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002159/2.541, allocations: 1.09 MB / 1.235 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.541, allocations: 12.5 kB / 1.235 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/2.541, allocations: 86.95 kB / 1.235 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/2.542, allocations: 0.519 MB / 1.236 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/2.542, allocations: 37 kB / 1.236 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/2.542, allocations: 52 kB / 1.236 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/2.543, allocations: 0.6255 MB / 1.236 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/2.543, allocations: 7.891 kB / 1.236 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/2.543, allocations: 24 kB / 1.236 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/2.543, allocations: 12 kB / 1.236 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000945/2.544, allocations: 0.5034 MB / 1.237 GB, free: 86.8 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.002972/2.547, allocations: 3.22 MB / 1.24 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/2.548, allocations: 346.8 kB / 1.24 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/2.548, allocations: 344.4 kB / 1.241 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/2.548, allocations: 38.56 kB / 1.241 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 2.215e-06/2.548, allocations: 0 / 1.241 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.001822/2.55, allocations: 0.8359 MB / 1.241 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/2.55, allocations: 59.41 kB / 1.242 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/2.55, allocations: 0.5073 MB / 1.242 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/2.55, allocations: 37.7 kB / 1.242 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/2.551, allocations: 328.4 kB / 1.242 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/2.551, allocations: 142 kB / 1.243 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/2.551, allocations: 12 kB / 1.243 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001147/2.551, allocations: 374.7 kB / 1.243 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/2.551, allocations: 213.2 kB / 1.243 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/2.552, allocations: 400.3 kB / 1.243 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/2.552, allocations: 248.7 kB / 1.244 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.552, allocations: 4 kB / 1.244 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001202/2.554, allocations: 0.7184 MB / 1.244 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003987/2.554, allocations: 1.744 MB / 1.246 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/2.554, allocations: 4 kB / 1.246 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/2.555, allocations: 163.3 kB / 1.246 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/2.555, allocations: 163.7 kB / 1.246 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005405/2.556, allocations: 0.6227 MB / 1.247 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/2.556, allocations: 107.3 kB / 1.247 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/2.556, allocations: 35.98 kB / 1.247 GB, free: 75.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/2.557, allocations: 7.938 kB / 1.247 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/2.558, allocations: 0.6111 MB / 1.248 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/2.558, allocations: 4 kB / 1.248 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.515e-06/2.558, allocations: 8 kB / 1.248 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/2.558, allocations: 172.2 kB / 1.248 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/2.558, allocations: 8 kB / 1.248 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/2.559, allocations: 91.53 kB / 1.248 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/2.559, allocations: 39.92 kB / 1.248 GB, free: 74.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000322/2.559, allocations: 264.9 kB / 1.248 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/2.559, allocations: 67.16 kB / 1.248 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/2.561, allocations: 0.6626 MB / 1.249 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/2.561, allocations: 11.95 kB / 1.249 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.561, allocations: 0 / 1.249 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/2.561, allocations: 0 / 1.249 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/2.563, allocations: 1.375 MB / 1.25 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.563, allocations: 0 / 1.25 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/2.563, allocations: 95.97 kB / 1.25 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/2.563, allocations: 132.8 kB / 1.251 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/2.563, allocations: 15.94 kB / 1.251 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004963/2.564, allocations: 0.6381 MB / 1.251 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.564, allocations: 4.062 kB / 1.251 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/2.565, allocations: 0.7564 MB / 1.252 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/2.565, allocations: 188.1 kB / 1.252 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/2.565, allocations: 12 kB / 1.252 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/2.566, allocations: 63.78 kB / 1.252 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/2.566, allocations: 35.91 kB / 1.252 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/2.566, allocations: 23.98 kB / 1.252 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003884/2.566, allocations: 399.1 kB / 1.253 GB, free: 69.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/2.566, allocations: 0 / 1.253 GB, free: 69.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001415/2.568, allocations: 415.5 kB / 1.253 GB, free: 69.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008492/2.569, allocations: 416.6 kB / 1.253 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001805/2.57, allocations: 0.9058 MB / 1.254 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.57, allocations: 4 kB / 1.254 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/2.571, allocations: 304.2 kB / 1.255 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/2.572, allocations: 263.8 kB / 1.255 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/2.574, allocations: 1.285 MB / 1.256 GB, free: 66.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/2.574, allocations: 0.9197 MB / 1.257 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005766/2.575, allocations: 153 kB / 1.257 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/2.575, allocations: 55.42 kB / 1.257 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of SimCode: time 2.474e-06/2.575, allocations: 4 kB / 1.257 GB, free: 65.01 MB / 0.6823 GB Notification: Performance of Templates: time 0.02187/2.597, allocations: 12.89 MB / 1.27 GB, free: 52.27 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)