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.001166/0.001166, allocations: 110 kB / 16.27 MB, free: 6.355 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.001234/0.001234, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8163/0.8163, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.91 kB / 0.506 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3837, allocations: 80.91 MB / 0.585 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02346/0.4072, allocations: 29.83 MB / 0.6141 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.4198, allocations: 8.127 MB / 0.6221 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.4216, allocations: 31.75 kB / 0.6221 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.4232, allocations: 428.9 kB / 0.6225 GB, free: 4.145 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.4278, allocations: 1.381 MB / 0.6239 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.4312, allocations: 1.114 MB / 0.625 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.4356, allocations: 3.548 MB / 0.6284 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.4378, allocations: 1.322 MB / 0.6297 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.4409, allocations: 1.675 MB / 0.6314 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.4441, allocations: 1.636 MB / 0.6329 GB, free: 9.449 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007195/0.4449, allocations: 124 kB / 0.6331 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4476, allocations: 1.018 MB / 0.6341 GB, free: 8.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000817/0.4485, allocations: 410.7 kB / 0.6345 GB, free: 7.906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.45, allocations: 0.7505 MB / 0.6352 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.4535, allocations: 2.185 MB / 0.6373 GB, free: 4.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4535, allocations: 4 kB / 0.6373 GB, free: 4.957 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4535, allocations: 0 / 0.6373 GB, free: 4.957 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.684e-05/0.4536, allocations: 3.938 kB / 0.6373 GB, free: 4.953 MB / 478.1 MB 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.003624/0.4572, allocations: 1.675 MB / 0.639 GB, free: 3.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4572, allocations: 9.109 kB / 0.639 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.4578, allocations: 154.8 kB / 0.6391 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.4597, allocations: 0.8948 MB / 0.64 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.4598, allocations: 77.31 kB / 0.6401 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.4601, allocations: 120 kB / 0.6402 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.4612, allocations: 0.6434 MB / 0.6408 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4613, allocations: 0 / 0.6408 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.4613, allocations: 20 kB / 0.6408 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4613, allocations: 19.94 kB / 0.6408 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/0.4623, allocations: 464.9 kB / 0.6413 GB, free: 0.7539 MB / 478.1 MB 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.004865/0.4671, allocations: 2.891 MB / 0.6441 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.4678, allocations: 312.7 kB / 0.6444 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.4681, allocations: 153.3 kB / 0.6446 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.4684, allocations: 340.7 kB / 0.6449 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4685, allocations: 38.84 kB / 0.6449 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.4685, allocations: 3.938 kB / 0.6449 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001379/0.4699, allocations: 0.5244 MB / 0.6454 GB, free: 12.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4699, allocations: 55.41 kB / 0.6455 GB, free: 12.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.471, allocations: 0.9036 MB / 0.6464 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4711, allocations: 57.7 kB / 0.6464 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.4716, allocations: 0.538 MB / 0.647 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.4717, allocations: 110.3 kB / 0.6471 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.4721, allocations: 295 kB / 0.6473 GB, free: 10.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4722, allocations: 329.9 kB / 0.6477 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.4726, allocations: 193.4 kB / 0.6478 GB, free: 9.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.474, allocations: 1.155 MB / 0.649 GB, free: 8.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.4748, allocations: 455.4 kB / 0.6494 GB, free: 7.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4749, allocations: 0 / 0.6494 GB, free: 7.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001387/0.4763, allocations: 0.6539 MB / 0.65 GB, free: 7.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4763, allocations: 8 kB / 0.65 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4763, allocations: 0 / 0.65 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4763, allocations: 8 kB / 0.6501 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4778, allocations: 235.7 kB / 0.6503 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.4795, allocations: 2.958 MB / 0.6532 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.4829, allocations: 0.7027 MB / 0.6539 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.483, allocations: 27.97 kB / 0.6539 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008326/0.4839, allocations: 373.2 kB / 0.6542 GB, free: 2.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001601/0.4855, allocations: 1.158 MB / 0.6554 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008309/0.4863, allocations: 461 kB / 0.6558 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.4863, allocations: 0 / 0.6558 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001766/0.4881, allocations: 0.6472 MB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4881, allocations: 8 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4882, allocations: 4.312 kB / 0.6564 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4882, allocations: 8 kB / 0.6565 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.4889, allocations: 159.8 kB / 0.6566 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.4889, allocations: 4 kB / 0.6566 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.4935, allocations: 0.9612 MB / 0.6576 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.4936, allocations: 27.98 kB / 0.6576 GB, free: 14.82 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.0003618/0.494, allocations: 246.3 kB / 0.6578 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.4943, allocations: 98.77 kB / 0.6579 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.4956, allocations: 0.5049 MB / 0.6584 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.4956, allocations: 4 kB / 0.6584 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4956, allocations: 3.984 kB / 0.6584 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4956, allocations: 0 / 0.6584 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.498, allocations: 1.253 MB / 0.6596 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.498, allocations: 4 kB / 0.6596 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.4986, allocations: 115.9 kB / 0.6597 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.4986, allocations: 11.86 kB / 0.6598 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.4986, allocations: 12 kB / 0.6598 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.5004, allocations: 2.946 MB / 0.6626 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.5004, allocations: 0 / 0.6626 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.5014, allocations: 0.5578 MB / 0.6632 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.5017, allocations: 219.7 kB / 0.6634 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.5019, allocations: 11.94 kB / 0.6634 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.5024, allocations: 23.97 kB / 0.6634 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.5025, allocations: 31.91 kB / 0.6635 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.5025, allocations: 19.98 kB / 0.6635 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007793/0.5033, allocations: 0.6045 MB / 0.6641 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5033, allocations: 0 / 0.6641 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001588/0.5049, allocations: 0.5422 MB / 0.6646 GB, free: 7.371 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.0008248/0.5057, allocations: 340 kB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003006/0.5088, allocations: 0.8621 MB / 0.6658 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5088, allocations: 0 / 0.6658 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.5094, allocations: 231.6 kB / 0.666 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.5113, allocations: 411.2 kB / 0.6664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.5141, allocations: 1.564 MB / 0.6679 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.5147, allocations: 1.021 MB / 0.6689 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.515, allocations: 87.42 kB / 0.669 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.515, allocations: 4 kB / 0.669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of Templates: time 0.04077/0.5558, allocations: 36.09 MB / 0.7042 GB, free: 14.95 MB / 0.545 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)