Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 176.8 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 13 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 82.3 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.42/0.6204, allocations: 28.93 MB / 0.6162 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.6328, allocations: 8.115 MB / 0.6241 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.635, allocations: 29.41 kB / 0.6242 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.6364, allocations: 338.9 kB / 0.6245 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.641, allocations: 1.239 MB / 0.6257 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.6443, allocations: 1.035 MB / 0.6267 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004826/0.6492, allocations: 4.204 MB / 0.6308 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.6511, allocations: 1.161 MB / 0.632 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.6544, allocations: 1.493 MB / 0.6334 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.6573, allocations: 1.591 MB / 0.635 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004122/0.6577, allocations: 63.44 kB / 0.635 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.66, allocations: 0.9354 MB / 0.6359 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.6604, allocations: 341.1 kB / 0.6363 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.6613, allocations: 0.7071 MB / 0.637 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.6645, allocations: 2.093 MB / 0.639 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6646, allocations: 0 / 0.639 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.317e-06/0.6646, allocations: 0 / 0.639 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.394e-05/0.6646, allocations: 4 kB / 0.639 GB, free: 28.24 MB / 0.4981 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.002476/0.6671, allocations: 1.335 MB / 0.6403 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.6672, allocations: 9.125 kB / 0.6403 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.6676, allocations: 150.7 kB / 0.6405 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.6692, allocations: 0.8925 MB / 0.6413 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.6692, allocations: 84.81 kB / 0.6414 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.6695, allocations: 126.6 kB / 0.6415 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.6706, allocations: 0.6351 MB / 0.6422 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6706, allocations: 4 kB / 0.6422 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.6707, allocations: 27.75 kB / 0.6422 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.6707, allocations: 13.88 kB / 0.6422 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.6715, allocations: 483.7 kB / 0.6427 GB, free: 26.22 MB / 0.4981 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.004302/0.6758, allocations: 2.886 MB / 0.6455 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.6764, allocations: 311.6 kB / 0.6458 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.6767, allocations: 156.4 kB / 0.6459 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.6769, allocations: 342.6 kB / 0.6463 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.677, allocations: 41.11 kB / 0.6463 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/0.677, allocations: 0 / 0.6463 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001327/0.6783, allocations: 0.5498 MB / 0.6468 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.6784, allocations: 55 kB / 0.6469 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6796, allocations: 0.9057 MB / 0.6478 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.6798, allocations: 54.59 kB / 0.6478 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.6803, allocations: 0.535 MB / 0.6483 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.6805, allocations: 115 kB / 0.6485 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6806, allocations: 60.12 kB / 0.6485 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.6807, allocations: 334.6 kB / 0.6488 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.6812, allocations: 188.4 kB / 0.649 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.6827, allocations: 1.161 MB / 0.6501 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009844/0.6837, allocations: 470.1 kB / 0.6506 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6837, allocations: 1.031 kB / 0.6506 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001647/0.6854, allocations: 0.6691 MB / 0.6512 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.6855, allocations: 151.9 kB / 0.6514 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6855, allocations: 3.375 kB / 0.6514 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.6855, allocations: 5 kB / 0.6514 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.687, allocations: 241.2 kB / 0.6516 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6883, allocations: 2.958 MB / 0.6545 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.6925, allocations: 0.7469 MB / 0.6552 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.6927, allocations: 31.5 kB / 0.6553 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6927, allocations: 3.531 kB / 0.6553 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.6939, allocations: 0.5055 MB / 0.6558 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6939, allocations: 2.281 kB / 0.6558 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6939, allocations: 9.844 kB / 0.6558 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.6946, allocations: 162.4 kB / 0.6559 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6947, allocations: 5.672 kB / 0.6559 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.6989, allocations: 0.7378 MB / 0.6567 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.6991, allocations: 24.78 kB / 0.6567 GB, free: 17.02 MB / 0.4981 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 () * Number of clocked 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.7001, allocations: 331.8 kB / 0.657 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.7005, allocations: 98.25 kB / 0.6571 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.7018, allocations: 0.5197 MB / 0.6576 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.7019, allocations: 4.375 kB / 0.6576 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7019, allocations: 1.828 kB / 0.6576 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7019, allocations: 10.03 kB / 0.6576 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.7044, allocations: 1.268 MB / 0.6589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.7044, allocations: 1.125 kB / 0.6589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.705, allocations: 121.7 kB / 0.659 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/0.705, allocations: 3.016 kB / 0.659 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.705, allocations: 10.59 kB / 0.659 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009378/0.706, allocations: 2.943 MB / 0.6619 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.706, allocations: 2.922 kB / 0.6619 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.707, allocations: 0.589 MB / 0.6624 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.7074, allocations: 224.8 kB / 0.6627 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7075, allocations: 7.797 kB / 0.6627 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.7081, allocations: 73.34 kB / 0.6627 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.7082, allocations: 29.72 kB / 0.6628 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.7082, allocations: 12.97 kB / 0.6628 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009421/0.7092, allocations: 0.6099 MB / 0.6634 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7092, allocations: 1.156 kB / 0.6634 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002231/0.7114, allocations: 0.5348 MB / 0.6639 GB, free: 11.92 MB / 0.4981 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 () * Number of clocked 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009165/0.7124, allocations: 330.4 kB / 0.6642 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003272/0.7157, allocations: 0.8613 MB / 0.665 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7157, allocations: 0 / 0.665 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.7163, allocations: 234.2 kB / 0.6653 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.7196, allocations: 492.5 kB / 0.6657 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.7227, allocations: 1.875 MB / 0.6676 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.7234, allocations: 1.03 MB / 0.6686 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001622/0.725, allocations: 211 kB / 0.6688 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.7252, allocations: 78.66 kB / 0.6689 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.7252, allocations: 0 / 0.6689 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.05248/0.7777, allocations: 24.41 MB / 0.6927 GB, free: 240 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)