Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7593/0.7593, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.437/1.437, allocations: 221.3 MB / 396.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 101.7 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.973e-05, allocations: 3.688 kB / 0.5551 GB, free: 86.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 81.58 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.339, allocations: 361.2 MB / 0.9875 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000408/1.34, allocations: 97.12 kB / 0.9876 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.261/2.601, allocations: 437.8 MB / 1.415 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.032e-06/2.601, allocations: 0 / 1.415 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.668e-05/2.601, allocations: 34.11 kB / 1.415 GB, free: 104.1 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002283/2.603, allocations: 1.32 MB / 1.416 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/2.603, allocations: 8.031 kB / 1.416 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/2.603, allocations: 154.5 kB / 1.417 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/2.605, allocations: 0.8171 MB / 1.417 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/2.605, allocations: 89.31 kB / 1.417 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/2.605, allocations: 124 kB / 1.418 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/2.606, allocations: 0.5966 MB / 1.418 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/2.606, allocations: 0 / 1.418 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/2.606, allocations: 24 kB / 1.418 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/2.606, allocations: 15.95 kB / 1.418 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/2.607, allocations: 417.1 kB / 1.419 GB, free: 100.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004172/2.611, allocations: 3.079 MB / 1.422 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/2.612, allocations: 303.9 kB / 1.422 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/2.612, allocations: 137.4 kB / 1.422 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/2.612, allocations: 344.5 kB / 1.422 GB, free: 96.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/2.612, allocations: 38.78 kB / 1.422 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/2.612, allocations: 0 / 1.422 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007519/2.613, allocations: 406.5 kB / 1.423 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/2.613, allocations: 55.41 kB / 1.423 GB, free: 95.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/2.614, allocations: 0.7702 MB / 1.424 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/2.614, allocations: 57.7 kB / 1.424 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/2.614, allocations: 0.5534 MB / 1.424 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/2.614, allocations: 114.2 kB / 1.424 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/2.614, allocations: 12 kB / 1.424 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/2.614, allocations: 330 kB / 1.425 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/2.615, allocations: 161.5 kB / 1.425 GB, free: 93.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/2.616, allocations: 1.406 MB / 1.426 GB, free: 92.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/2.616, allocations: 297.5 kB / 1.426 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/2.616, allocations: 0 / 1.426 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008735/2.617, allocations: 0.6031 MB / 1.427 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/2.617, allocations: 0.806 MB / 1.428 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/2.617, allocations: 3.703 kB / 1.428 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/2.617, allocations: 8 kB / 1.428 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/2.618, allocations: 203.3 kB / 1.428 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/2.619, allocations: 2.954 MB / 1.431 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/2.623, allocations: 0.9135 MB / 1.432 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/2.623, allocations: 27.98 kB / 1.432 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/2.623, allocations: 4 kB / 1.432 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000726/2.624, allocations: 465.3 kB / 1.432 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/2.624, allocations: 8.031 kB / 1.432 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/2.624, allocations: 4 kB / 1.432 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/2.624, allocations: 163.7 kB / 1.432 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/2.624, allocations: 15.89 kB / 1.432 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/2.628, allocations: 0.9016 MB / 1.433 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/2.628, allocations: 27.98 kB / 1.433 GB, free: 84.55 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/2.628, allocations: 169.6 kB / 1.434 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/2.628, allocations: 94.78 kB / 1.434 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/2.629, allocations: 499.1 kB / 1.434 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/2.629, allocations: 4 kB / 1.434 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/2.629, allocations: 3.875 kB / 1.434 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/2.629, allocations: 11.94 kB / 1.434 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/2.631, allocations: 1.233 MB / 1.435 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/2.631, allocations: 4 kB / 1.435 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/2.631, allocations: 115.9 kB / 1.435 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/2.631, allocations: 8 kB / 1.435 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/2.631, allocations: 11.98 kB / 1.435 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008103/2.632, allocations: 2.946 MB / 1.438 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.632, allocations: 32 / 1.438 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/2.633, allocations: 0.5877 MB / 1.439 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/2.633, allocations: 231.6 kB / 1.439 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/2.633, allocations: 7.984 kB / 1.439 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/2.634, allocations: 71.86 kB / 1.439 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/2.634, allocations: 23.97 kB / 1.439 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/2.634, allocations: 12 kB / 1.439 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005878/2.635, allocations: 0.5975 MB / 1.44 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/2.635, allocations: 4 kB / 1.44 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001957/2.637, allocations: 0.6088 MB / 1.44 GB, free: 77.07 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009377/2.638, allocations: 0.5045 MB / 1.441 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002064/2.64, allocations: 0.7817 MB / 1.442 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/2.64, allocations: 0 / 1.442 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/2.64, allocations: 212.7 kB / 1.442 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/2.642, allocations: 475.7 kB / 1.442 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/2.644, allocations: 1.069 MB / 1.443 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/2.644, allocations: 1.052 MB / 1.444 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001489/2.646, allocations: 280.3 kB / 1.445 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/2.646, allocations: 59.42 kB / 1.445 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/2.646, allocations: 0 / 1.445 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.0396/2.686, allocations: 29.62 MB / 1.474 GB, free: 43.5 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)