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.001472/0.001472, allocations: 174.6 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-master/package.mo): time 0.823/0.823, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.597/1.597, allocations: 221.3 MB / 400.4 MB, free: 5.82 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.0008835/0.0008837, allocations: 91.83 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.221e-05, allocations: 3.062 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 82.3 MB / 0.6404 GB, free: 7.805 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.437, allocations: 356.6 MB / 0.9887 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.438, allocations: 92.42 kB / 0.9888 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9712/2.409, allocations: 294.5 MB / 1.276 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/2.409, allocations: 0 / 1.276 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.681e-05/2.409, allocations: 18.31 kB / 1.276 GB, free: 172.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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00143/2.411, allocations: 0.902 MB / 1.277 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/2.411, allocations: 10 kB / 1.277 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/2.411, allocations: 85.5 kB / 1.277 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/2.412, allocations: 0.5729 MB / 1.278 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/2.412, allocations: 29.81 kB / 1.278 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/2.412, allocations: 40.41 kB / 1.278 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/2.412, allocations: 292.3 kB / 1.278 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/2.412, allocations: 0 / 1.278 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/2.412, allocations: 14.25 kB / 1.278 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/2.412, allocations: 14.25 kB / 1.278 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/2.413, allocations: 212.2 kB / 1.279 GB, free: 171.3 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.002148/2.415, allocations: 1.572 MB / 1.28 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/2.415, allocations: 202 kB / 1.28 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/2.415, allocations: 85.06 kB / 1.28 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/2.416, allocations: 419.2 kB / 1.281 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/2.416, allocations: 38.22 kB / 1.281 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/2.416, allocations: 0 / 1.281 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0004417/2.416, allocations: 241.2 kB / 1.281 GB, free: 170 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/2.416, allocations: 58.09 kB / 1.281 GB, free: 170 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/2.417, allocations: 0.5606 MB / 1.282 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/2.417, allocations: 33.45 kB / 1.282 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/2.417, allocations: 302.5 kB / 1.282 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/2.417, allocations: 77.75 kB / 1.282 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/2.417, allocations: 13.12 kB / 1.282 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/2.417, allocations: 371.8 kB / 1.282 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/2.417, allocations: 110.8 kB / 1.282 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/2.418, allocations: 214 kB / 1.283 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/2.418, allocations: 143.2 kB / 1.283 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/2.418, allocations: 3.953 kB / 1.283 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005676/2.418, allocations: 420.9 kB / 1.283 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/2.419, allocations: 457.7 kB / 1.284 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.419, allocations: 7.734 kB / 1.284 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/2.419, allocations: 3.5 kB / 1.284 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/2.419, allocations: 136.1 kB / 1.284 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004971/2.42, allocations: 1.188 MB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/2.42, allocations: 76.41 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/2.42, allocations: 20.02 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/2.42, allocations: 2.969 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004919/2.421, allocations: 337.3 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/2.421, allocations: 0 / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/2.421, allocations: 3.188 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/2.421, allocations: 118 kB / 1.285 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/2.421, allocations: 9.844 kB / 1.286 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/2.422, allocations: 58.14 kB / 1.286 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/2.422, allocations: 25.48 kB / 1.286 GB, free: 167.5 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 () * 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 9.559e-05/2.422, allocations: 126.8 kB / 1.286 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/2.422, allocations: 61.81 kB / 1.286 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/2.423, allocations: 305.9 kB / 1.286 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.423, allocations: 3.969 kB / 1.286 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/2.423, allocations: 0 / 1.286 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.423, allocations: 0 / 1.286 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/2.424, allocations: 0.9007 MB / 1.287 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/2.424, allocations: 3.938 kB / 1.287 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/2.424, allocations: 56.83 kB / 1.287 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/2.424, allocations: 3.125 kB / 1.287 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/2.424, allocations: 7.344 kB / 1.287 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003496/2.424, allocations: 1.182 MB / 1.288 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.424, allocations: 4.719 kB / 1.288 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/2.425, allocations: 0.5403 MB / 1.289 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/2.425, allocations: 182.5 kB / 1.289 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/2.425, allocations: 7.344 kB / 1.289 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/2.425, allocations: 30.72 kB / 1.289 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/2.426, allocations: 24.22 kB / 1.289 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/2.426, allocations: 7.688 kB / 1.289 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004358/2.426, allocations: 436.6 kB / 1.289 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.426, allocations: 0 / 1.289 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009157/2.427, allocations: 333.8 kB / 1.29 GB, free: 165.2 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 () * 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.0007037/2.428, allocations: 363.4 kB / 1.29 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009813/2.429, allocations: 0.4891 MB / 1.29 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.429, allocations: 0 / 1.29 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/2.429, allocations: 126.3 kB / 1.291 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/2.43, allocations: 285.8 kB / 1.291 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/2.432, allocations: 0.7501 MB / 1.292 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/2.432, allocations: 0.9054 MB / 1.293 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005789/2.432, allocations: 161.9 kB / 1.293 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/2.433, allocations: 38.09 kB / 1.293 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/2.433, allocations: 0 / 1.293 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02089/2.453, allocations: 13.43 MB / 1.306 GB, free: 163.9 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)