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.001149/0.00115, allocations: 100.1 kB / 15.88 MB, free: 12 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.001223/0.001223, allocations: 198 kB / 16.79 MB, free: 6.828 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.5 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1875, allocations: 80.92 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3355/0.5231, allocations: 29.65 MB / 0.6133 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.5327, allocations: 8.218 MB / 0.6213 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.5343, allocations: 30.28 kB / 0.6213 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.5355, allocations: 347.8 kB / 0.6217 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.5391, allocations: 1.237 MB / 0.6229 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.5417, allocations: 1.025 MB / 0.6239 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00375/0.5454, allocations: 4.208 MB / 0.628 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.547, allocations: 1.182 MB / 0.6292 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.5495, allocations: 1.499 MB / 0.6306 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.552, allocations: 1.62 MB / 0.6322 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.5525, allocations: 71.91 kB / 0.6323 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.5546, allocations: 0.9433 MB / 0.6332 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.555, allocations: 353.9 kB / 0.6335 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000922/0.556, allocations: 0.6908 MB / 0.6342 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.5575, allocations: 1.581 MB / 0.6357 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5576, allocations: 0 / 0.6357 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5576, allocations: 0 / 0.6357 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5576, allocations: 0 / 0.6357 GB, free: 28.71 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.00258/0.5602, allocations: 1.673 MB / 0.6374 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5602, allocations: 9.938 kB / 0.6374 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.5606, allocations: 150.3 kB / 0.6375 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.562, allocations: 0.8914 MB / 0.6384 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.5621, allocations: 85.97 kB / 0.6385 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.5623, allocations: 115 kB / 0.6386 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.5632, allocations: 0.64 MB / 0.6392 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5632, allocations: 0 / 0.6392 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5633, allocations: 25.25 kB / 0.6392 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5633, allocations: 15.75 kB / 0.6393 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.5641, allocations: 461.7 kB / 0.6397 GB, free: 26.56 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.003837/0.5679, allocations: 2.872 MB / 0.6425 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.5685, allocations: 308.8 kB / 0.6428 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.5688, allocations: 148 kB / 0.6429 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.569, allocations: 349.6 kB / 0.6433 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.569, allocations: 45 kB / 0.6433 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.564e-06/0.569, allocations: 0 / 0.6433 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001253/0.5703, allocations: 0.5225 MB / 0.6438 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.5703, allocations: 58.06 kB / 0.6439 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/0.5713, allocations: 0.9034 MB / 0.6448 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.5715, allocations: 57.89 kB / 0.6448 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.5719, allocations: 0.5297 MB / 0.6453 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.572, allocations: 114.8 kB / 0.6454 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.5725, allocations: 292.7 kB / 0.6457 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.5725, allocations: 336.1 kB / 0.646 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.573, allocations: 192.9 kB / 0.6462 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.5743, allocations: 1.148 MB / 0.6474 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/0.5752, allocations: 457.9 kB / 0.6478 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5752, allocations: 1.25 kB / 0.6478 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001596/0.5768, allocations: 0.649 MB / 0.6484 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5768, allocations: 4.812 kB / 0.6484 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5769, allocations: 2.594 kB / 0.6484 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.5769, allocations: 5.297 kB / 0.6484 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.5784, allocations: 238.9 kB / 0.6487 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5794, allocations: 2.958 MB / 0.6516 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.583, allocations: 0.7234 MB / 0.6523 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5832, allocations: 30.34 kB / 0.6523 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008335/0.584, allocations: 367.5 kB / 0.6526 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.5853, allocations: 1.16 MB / 0.6538 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008052/0.5861, allocations: 465.3 kB / 0.6542 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.5861, allocations: 1.641 kB / 0.6542 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001702/0.5878, allocations: 0.6523 MB / 0.6549 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5878, allocations: 6.156 kB / 0.6549 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5879, allocations: 3.25 kB / 0.6549 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.5879, allocations: 6.547 kB / 0.6549 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.5886, allocations: 160.9 kB / 0.655 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5886, allocations: 10.23 kB / 0.655 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/0.5932, allocations: 0.9837 MB / 0.656 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5934, allocations: 27.06 kB / 0.656 GB, free: 15.83 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.0003835/0.5938, allocations: 246 kB / 0.6563 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.5941, allocations: 94.16 kB / 0.6563 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5953, allocations: 0.512 MB / 0.6568 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5953, allocations: 4.812 kB / 0.6568 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5953, allocations: 1.344 kB / 0.6568 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5953, allocations: 1.828 kB / 0.6568 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.5975, allocations: 1.26 MB / 0.6581 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5975, allocations: 1.125 kB / 0.6581 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.598, allocations: 119 kB / 0.6582 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5981, allocations: 2.562 kB / 0.6582 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.5981, allocations: 15.27 kB / 0.6582 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.5989, allocations: 2.942 MB / 0.6611 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5989, allocations: 2.391 kB / 0.6611 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.5998, allocations: 0.5669 MB / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.6002, allocations: 209.7 kB / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6003, allocations: 12.97 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.6008, allocations: 64.75 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.6009, allocations: 26.72 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.601, allocations: 11.62 kB / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007927/0.6018, allocations: 0.6141 MB / 0.6626 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6018, allocations: 0 / 0.6626 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001915/0.6037, allocations: 0.5355 MB / 0.6631 GB, free: 10.79 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.0007263/0.6044, allocations: 334.3 kB / 0.6634 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.6072, allocations: 0.8501 MB / 0.6642 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6072, allocations: 0 / 0.6642 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.6078, allocations: 225.7 kB / 0.6644 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.6103, allocations: 480.1 kB / 0.6649 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.613, allocations: 1.892 MB / 0.6667 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.6135, allocations: 1.024 MB / 0.6677 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.6138, allocations: 85.91 kB / 0.6678 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.6138, allocations: 1.25 kB / 0.6678 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.04545/0.6593, allocations: 36.42 MB / 0.7034 GB, free: 2.566 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)