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.0009678/0.0009674, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7404/0.7404, allocations: 130.7 MB / 138.7 MB, free: 3.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0008732/0.0008732, allocations: 97.67 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.024e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5016, allocations: 81.58 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8838/1.385, allocations: 360.6 MB / 0.9803 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.386, allocations: 90.5 kB / 0.9804 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.79/3.176, allocations: 434.3 MB / 1.404 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.315e-06/3.176, allocations: 0 / 1.404 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002216/3.176, allocations: 32.89 kB / 1.405 GB, free: 149.8 MB / 0.6667 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.004401/3.181, allocations: 1.333 MB / 1.406 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/3.181, allocations: 7.469 kB / 1.406 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/3.182, allocations: 157.9 kB / 1.406 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/3.185, allocations: 0.8248 MB / 1.407 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/3.185, allocations: 18.47 kB / 1.407 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/3.185, allocations: 75.78 kB / 1.407 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009291/3.186, allocations: 392.4 kB / 1.407 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/3.187, allocations: 0.5127 MB / 1.408 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/3.187, allocations: 3.031 kB / 1.408 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/3.187, allocations: 7.891 kB / 1.408 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/3.187, allocations: 14.22 kB / 1.408 GB, free: 148.2 MB / 0.6667 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.005982/3.193, allocations: 2.901 MB / 1.411 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/3.194, allocations: 311.9 kB / 1.411 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/3.194, allocations: 133.7 kB / 1.411 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/3.194, allocations: 347.1 kB / 1.411 GB, free: 146 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/3.194, allocations: 37.47 kB / 1.411 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/3.194, allocations: 0 / 1.411 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001723/3.196, allocations: 488.8 kB / 1.412 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/3.196, allocations: 55.34 kB / 1.412 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/3.197, allocations: 0.6503 MB / 1.413 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/3.198, allocations: 32.7 kB / 1.413 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006605/3.198, allocations: 0.5394 MB / 1.413 GB, free: 145.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/3.198, allocations: 111.8 kB / 1.413 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/3.198, allocations: 2.031 kB / 1.413 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/3.198, allocations: 332.1 kB / 1.414 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/3.199, allocations: 149.9 kB / 1.414 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/3.2, allocations: 1.364 MB / 1.415 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/3.201, allocations: 373.8 kB / 1.415 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/3.201, allocations: 6.438 kB / 1.415 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001807/3.203, allocations: 0.6532 MB / 1.416 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/3.203, allocations: 0.8218 MB / 1.417 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/3.203, allocations: 3.031 kB / 1.417 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/3.203, allocations: 3.562 kB / 1.417 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/3.205, allocations: 210.7 kB / 1.417 GB, free: 142.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/3.206, allocations: 2.982 MB / 1.42 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/3.21, allocations: 0.8736 MB / 1.421 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/3.21, allocations: 27.67 kB / 1.421 GB, free: 139 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/3.21, allocations: 6.531 kB / 1.421 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/3.211, allocations: 485 kB / 1.421 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/3.211, allocations: 1.594 kB / 1.421 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/3.211, allocations: 5.906 kB / 1.421 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/3.212, allocations: 166.8 kB / 1.421 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/3.212, allocations: 3.844 kB / 1.421 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/3.216, allocations: 0.8668 MB / 1.422 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/3.216, allocations: 30.44 kB / 1.422 GB, free: 138.4 MB / 0.6667 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 (71): * Single equations (assignments): 66 * 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.0004437/3.216, allocations: 131 kB / 1.422 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/3.216, allocations: 82.88 kB / 1.423 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/3.218, allocations: 0.5497 MB / 1.423 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/3.218, allocations: 3.969 kB / 1.423 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/3.218, allocations: 1.219 kB / 1.423 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/3.218, allocations: 6.953 kB / 1.423 GB, free: 138 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/3.221, allocations: 1.218 MB / 1.424 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/3.221, allocations: 2.812 kB / 1.424 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/3.221, allocations: 124.6 kB / 1.424 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/3.221, allocations: 3.875 kB / 1.424 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/3.221, allocations: 3.219 kB / 1.424 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/3.222, allocations: 2.946 MB / 1.427 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/3.222, allocations: 3.188 kB / 1.427 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/3.224, allocations: 0.6471 MB / 1.428 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/3.224, allocations: 219.3 kB / 1.428 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/3.224, allocations: 3.938 kB / 1.428 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/3.225, allocations: 63.17 kB / 1.428 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/3.225, allocations: 28.62 kB / 1.428 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/3.225, allocations: 14.86 kB / 1.428 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006637/3.226, allocations: 487 kB / 1.429 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/3.226, allocations: 0 / 1.429 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002698/3.228, allocations: 0.5902 MB / 1.429 GB, free: 133 MB / 0.6667 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.001438/3.23, allocations: 0.51 MB / 1.43 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002646/3.233, allocations: 0.7384 MB / 1.43 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/3.233, allocations: 0.75 kB / 1.43 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004491/3.233, allocations: 206.3 kB / 1.431 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/3.235, allocations: 387.1 kB / 1.431 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/3.238, allocations: 1.028 MB / 1.432 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/3.238, allocations: 1.057 MB / 1.433 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001898/3.24, allocations: 253.5 kB / 1.433 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/3.24, allocations: 59.42 kB / 1.433 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/3.24, allocations: 0 / 1.433 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.04067/3.281, allocations: 24.5 MB / 1.457 GB, free: 106.8 MB / 0.6667 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)