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.001615/0.001614, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 196 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 64.03 kB / 0.5054 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1927, allocations: 80.93 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3202/0.513, allocations: 29.81 MB / 0.6135 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008759/0.5218, allocations: 8.144 MB / 0.6214 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.5231, allocations: 28.31 kB / 0.6215 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5241, allocations: 428.6 kB / 0.6219 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.5277, allocations: 1.38 MB / 0.6232 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.5303, allocations: 1.134 MB / 0.6243 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.5334, allocations: 3.527 MB / 0.6278 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.5349, allocations: 1.336 MB / 0.6291 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.5381, allocations: 1.659 MB / 0.6307 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.541, allocations: 1.64 MB / 0.6323 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005114/0.5415, allocations: 127.7 kB / 0.6324 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.544, allocations: 1.018 MB / 0.6334 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.5444, allocations: 405 kB / 0.6338 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.5453, allocations: 0.7539 MB / 0.6345 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.5476, allocations: 2.181 MB / 0.6367 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5476, allocations: 8 kB / 0.6367 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5476, allocations: 0 / 0.6367 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.5477, allocations: 0 / 0.6367 GB, free: 27.65 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.002304/0.55, allocations: 1.673 MB / 0.6383 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.55, allocations: 11.78 kB / 0.6383 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.5504, allocations: 151.1 kB / 0.6385 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5517, allocations: 0.8895 MB / 0.6393 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.5517, allocations: 82.25 kB / 0.6394 GB, free: 25.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.5519, allocations: 120.4 kB / 0.6395 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.5527, allocations: 0.6366 MB / 0.6402 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5527, allocations: 0 / 0.6402 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.5528, allocations: 27.88 kB / 0.6402 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5528, allocations: 13.41 kB / 0.6402 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.5535, allocations: 466.5 kB / 0.6406 GB, free: 25.5 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.003799/0.5573, allocations: 2.892 MB / 0.6435 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.5579, allocations: 305.7 kB / 0.6438 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.5581, allocations: 141.7 kB / 0.6439 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.5584, allocations: 348.5 kB / 0.6442 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5584, allocations: 42.39 kB / 0.6443 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.5584, allocations: 0 / 0.6443 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001273/0.5597, allocations: 0.5247 MB / 0.6448 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5597, allocations: 54.56 kB / 0.6448 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.5607, allocations: 0.9056 MB / 0.6457 GB, free: 22.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.5609, allocations: 54.36 kB / 0.6458 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.5612, allocations: 0.5382 MB / 0.6463 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.5613, allocations: 118 kB / 0.6464 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.5617, allocations: 285.3 kB / 0.6467 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.5618, allocations: 334 kB / 0.647 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.5622, allocations: 193.8 kB / 0.6472 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5634, allocations: 1.148 MB / 0.6483 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.5642, allocations: 458.6 kB / 0.6487 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5642, allocations: 0.5625 kB / 0.6487 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001341/0.5655, allocations: 0.6556 MB / 0.6494 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5656, allocations: 12.48 kB / 0.6494 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.5656, allocations: 1.812 kB / 0.6494 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5656, allocations: 5.859 kB / 0.6494 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.567, allocations: 233.5 kB / 0.6496 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009873/0.568, allocations: 2.962 MB / 0.6525 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/0.5716, allocations: 0.7032 MB / 0.6532 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.5717, allocations: 26.11 kB / 0.6532 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007818/0.5725, allocations: 368.5 kB / 0.6536 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.5737, allocations: 1.155 MB / 0.6547 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007453/0.5744, allocations: 460.8 kB / 0.6551 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.5744, allocations: 1.281 kB / 0.6551 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001709/0.5761, allocations: 0.6537 MB / 0.6558 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5762, allocations: 6.562 kB / 0.6558 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5762, allocations: 3.281 kB / 0.6558 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5762, allocations: 5.938 kB / 0.6558 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.5769, allocations: 157.5 kB / 0.6559 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5769, allocations: 10.23 kB / 0.656 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/0.5817, allocations: 0.963 MB / 0.6569 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5819, allocations: 29.58 kB / 0.6569 GB, free: 14.79 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.000384/0.5823, allocations: 244.1 kB / 0.6572 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.5825, allocations: 98.53 kB / 0.6572 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5837, allocations: 0.5078 MB / 0.6577 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5837, allocations: 4.281 kB / 0.6577 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5837, allocations: 0.9375 kB / 0.6577 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.5837, allocations: 1.594 kB / 0.6577 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.5857, allocations: 1.26 MB / 0.659 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5857, allocations: 2.375 kB / 0.659 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.5862, allocations: 117.8 kB / 0.6591 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5862, allocations: 2.406 kB / 0.6591 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5863, allocations: 15.64 kB / 0.6591 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.587, allocations: 2.945 MB / 0.662 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.587, allocations: 0.875 kB / 0.662 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.5879, allocations: 0.5666 MB / 0.6625 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.5882, allocations: 214.7 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.5883, allocations: 11.94 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.5887, allocations: 35.06 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.5888, allocations: 26.48 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.5889, allocations: 20.56 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007623/0.5896, allocations: 0.605 MB / 0.6634 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5896, allocations: 0 / 0.6634 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001781/0.5914, allocations: 0.5404 MB / 0.664 GB, free: 9.738 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.0006634/0.5921, allocations: 333.5 kB / 0.6643 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.595, allocations: 0.8595 MB / 0.6651 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.595, allocations: 0 / 0.6651 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.5956, allocations: 230.8 kB / 0.6653 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.5977, allocations: 406.9 kB / 0.6657 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.6005, allocations: 1.541 MB / 0.6672 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.601, allocations: 1.026 MB / 0.6682 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001387/0.6024, allocations: 202.1 kB / 0.6684 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6026, allocations: 83.39 kB / 0.6685 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.6027, allocations: 1.031 kB / 0.6685 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.04402/0.6467, allocations: 24.89 MB / 0.6928 GB, free: 13.11 MB / 0.5137 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)