Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008262/0.008262, allocations: 169.5 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/package.mo): time 0.781/0.781, allocations: 132.3 MB / 148.1 MB, free: 200 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 403.2 MB, free: 6.746 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.0009845/0.0009845, allocations: 93.55 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005433/0.000544, allocations: 11.94 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5796, allocations: 81.58 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8809/1.461, allocations: 356.8 MB / 0.9922 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.461, allocations: 96.56 kB / 0.9922 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.034/2.495, allocations: 241.4 MB / 1.228 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.472e-06/2.495, allocations: 0 / 1.228 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.962e-05/2.495, allocations: 24 kB / 1.228 GB, free: 100.2 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.002112/2.497, allocations: 1.09 MB / 1.229 GB, free: 99.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/2.497, allocations: 8.031 kB / 1.229 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/2.497, allocations: 87.02 kB / 1.229 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/2.498, allocations: 0.5151 MB / 1.23 GB, free: 98.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/2.498, allocations: 40.98 kB / 1.23 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/2.498, allocations: 55.94 kB / 1.23 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/2.499, allocations: 0.6216 MB / 1.23 GB, free: 97.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/2.499, allocations: 7.938 kB / 1.23 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/2.499, allocations: 20 kB / 1.23 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/2.499, allocations: 12 kB / 1.23 GB, free: 97.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/2.5, allocations: 0.5034 MB / 1.231 GB, free: 97.13 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.002873/2.503, allocations: 3.217 MB / 1.234 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/2.503, allocations: 348.9 kB / 1.234 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/2.504, allocations: 348.4 kB / 1.235 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/2.504, allocations: 38.56 kB / 1.235 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 2.515e-06/2.504, allocations: 0 / 1.235 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.001883/2.506, allocations: 0.8398 MB / 1.236 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/2.506, allocations: 55.41 kB / 1.236 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/2.506, allocations: 0.5073 MB / 1.236 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/2.506, allocations: 33.7 kB / 1.236 GB, free: 91.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/2.506, allocations: 332.4 kB / 1.236 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/2.506, allocations: 130.1 kB / 1.237 GB, free: 90.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/2.506, allocations: 12 kB / 1.237 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.507, allocations: 378.7 kB / 1.237 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/2.507, allocations: 213.2 kB / 1.237 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/2.508, allocations: 400.2 kB / 1.238 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/2.508, allocations: 256.7 kB / 1.238 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.508, allocations: 0 / 1.238 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00125/2.509, allocations: 0.7227 MB / 1.238 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003717/2.51, allocations: 1.748 MB / 1.24 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/2.51, allocations: 4 kB / 1.24 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/2.51, allocations: 148.7 kB / 1.24 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/2.511, allocations: 155.8 kB / 1.24 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005148/2.511, allocations: 0.6265 MB / 1.241 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/2.512, allocations: 111.3 kB / 1.241 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/2.512, allocations: 31.98 kB / 1.241 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/2.512, allocations: 4 kB / 1.241 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/2.513, allocations: 0.619 MB / 1.242 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/2.513, allocations: 4.562 kB / 1.242 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/2.513, allocations: 15.95 kB / 1.242 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/2.514, allocations: 163.8 kB / 1.242 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/2.514, allocations: 11.94 kB / 1.242 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/2.515, allocations: 95.47 kB / 1.242 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/2.515, allocations: 32.06 kB / 1.242 GB, free: 84.99 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.0003054/2.515, allocations: 272.9 kB / 1.242 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/2.515, allocations: 67.16 kB / 1.242 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/2.516, allocations: 0.6667 MB / 1.243 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/2.516, allocations: 4 kB / 1.243 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.516, allocations: 0 / 1.243 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.516, allocations: 7.922 kB / 1.243 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/2.518, allocations: 1.371 MB / 1.244 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.518, allocations: 0 / 1.244 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/2.519, allocations: 95.88 kB / 1.245 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/2.519, allocations: 131.1 kB / 1.245 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/2.519, allocations: 19.98 kB / 1.245 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004871/2.52, allocations: 0.6381 MB / 1.245 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/2.52, allocations: 0 / 1.245 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/2.521, allocations: 0.7565 MB / 1.246 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/2.521, allocations: 204.1 kB / 1.246 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/2.521, allocations: 8 kB / 1.246 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/2.522, allocations: 59.86 kB / 1.246 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/2.522, allocations: 35.91 kB / 1.246 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/2.522, allocations: 15.98 kB / 1.246 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004152/2.522, allocations: 399.1 kB / 1.247 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/2.522, allocations: 0 / 1.247 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001407/2.524, allocations: 415.4 kB / 1.247 GB, free: 79.67 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.0009987/2.525, allocations: 415.7 kB / 1.248 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002041/2.527, allocations: 0.9058 MB / 1.248 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.527, allocations: 0 / 1.248 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/2.527, allocations: 296.2 kB / 1.249 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/2.529, allocations: 263.3 kB / 1.249 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/2.531, allocations: 1.294 MB / 1.25 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/2.531, allocations: 0.9236 MB / 1.251 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005797/2.531, allocations: 141.1 kB / 1.251 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/2.532, allocations: 63.41 kB / 1.251 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/2.532, allocations: 0 / 1.251 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.02197/2.554, allocations: 12.9 MB / 1.264 GB, free: 62.59 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)