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.001746/0.001746, allocations: 107.5 kB / 15.99 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.001938/0.001938, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8018/0.8018, allocations: 135.1 MB / 425.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 59.91 kB / 0.5055 GB, free: 8.766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4096, allocations: 80.91 MB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02282/0.4325, allocations: 29.6 MB / 0.6134 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.4444, allocations: 8.114 MB / 0.6213 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4461, allocations: 23.81 kB / 0.6214 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.4475, allocations: 365.9 kB / 0.6217 GB, free: 4.637 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.4516, allocations: 1.269 MB / 0.623 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.4546, allocations: 1.036 MB / 0.624 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0045/0.4591, allocations: 3.543 MB / 0.6274 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.4611, allocations: 1.306 MB / 0.6287 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.4645, allocations: 1.706 MB / 0.6304 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.4674, allocations: 1.655 MB / 0.632 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.4679, allocations: 128 kB / 0.6321 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.4704, allocations: 1.022 MB / 0.6331 GB, free: 8.957 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004595/0.4709, allocations: 406.7 kB / 0.6335 GB, free: 8.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.472, allocations: 0.7467 MB / 0.6342 GB, free: 7.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.4741, allocations: 1.602 MB / 0.6358 GB, free: 6.203 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4742, allocations: 4 kB / 0.6358 GB, free: 6.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4742, allocations: 0 / 0.6358 GB, free: 6.199 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.4742, allocations: 4 kB / 0.6358 GB, free: 6.195 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.002919/0.4771, allocations: 1.663 MB / 0.6374 GB, free: 4.477 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4772, allocations: 9.109 kB / 0.6374 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.4776, allocations: 154.8 kB / 0.6376 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.4792, allocations: 0.8987 MB / 0.6385 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.4793, allocations: 81.31 kB / 0.6385 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.4795, allocations: 120 kB / 0.6386 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4805, allocations: 0.6356 MB / 0.6393 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4806, allocations: 4 kB / 0.6393 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.4806, allocations: 28 kB / 0.6393 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4807, allocations: 19.94 kB / 0.6393 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.4815, allocations: 460.8 kB / 0.6398 GB, free: 2 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.004533/0.4861, allocations: 2.867 MB / 0.6426 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.4867, allocations: 316.6 kB / 0.6429 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.487, allocations: 149.3 kB / 0.643 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.4873, allocations: 340.7 kB / 0.6433 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4873, allocations: 38.84 kB / 0.6434 GB, free: 14.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.4873, allocations: 0 / 0.6434 GB, free: 14.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001299/0.4886, allocations: 0.5244 MB / 0.6439 GB, free: 13.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4887, allocations: 59.41 kB / 0.6439 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.4897, allocations: 0.9075 MB / 0.6448 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.4898, allocations: 53.7 kB / 0.6449 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.4903, allocations: 0.538 MB / 0.6454 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.4904, allocations: 118.3 kB / 0.6455 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/0.4908, allocations: 283 kB / 0.6458 GB, free: 11.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4909, allocations: 337.9 kB / 0.6461 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.4913, allocations: 193.4 kB / 0.6463 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4927, allocations: 1.147 MB / 0.6474 GB, free: 9.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.4935, allocations: 463.4 kB / 0.6478 GB, free: 9.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4935, allocations: 0 / 0.6478 GB, free: 9.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001329/0.4948, allocations: 0.6539 MB / 0.6485 GB, free: 8.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4948, allocations: 4 kB / 0.6485 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4949, allocations: 4 kB / 0.6485 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4949, allocations: 4.188 kB / 0.6485 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.4963, allocations: 231.7 kB / 0.6487 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.4979, allocations: 2.958 MB / 0.6516 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.5013, allocations: 0.7259 MB / 0.6523 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/0.5014, allocations: 23.98 kB / 0.6523 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007759/0.5022, allocations: 373.2 kB / 0.6527 GB, free: 3.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001295/0.5035, allocations: 1.162 MB / 0.6538 GB, free: 2.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007338/0.5043, allocations: 456.8 kB / 0.6543 GB, free: 1.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.5043, allocations: 0 / 0.6543 GB, free: 1.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001474/0.5057, allocations: 0.6628 MB / 0.6549 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5058, allocations: 8 kB / 0.6549 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.5058, allocations: 0 / 0.6549 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.5058, allocations: 8 kB / 0.6549 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5065, allocations: 155.8 kB / 0.6551 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5065, allocations: 7.938 kB / 0.6551 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/0.5109, allocations: 0.9926 MB / 0.6561 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.511, allocations: 28 kB / 0.6561 GB, free: 28 kB / 494.1 MB 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.0003491/0.5113, allocations: 237.1 kB / 0.6563 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.5115, allocations: 102.7 kB / 0.6564 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.5128, allocations: 0.5011 MB / 0.6569 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5128, allocations: 7.984 kB / 0.6569 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5128, allocations: 0 / 0.6569 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5128, allocations: 0 / 0.6569 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.515, allocations: 1.253 MB / 0.6581 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.515, allocations: 0 / 0.6581 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.5156, allocations: 123.8 kB / 0.6582 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.5156, allocations: 11.92 kB / 0.6583 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.5156, allocations: 8 kB / 0.6583 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.517, allocations: 2.942 MB / 0.6611 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.517, allocations: 4.031 kB / 0.6611 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.518, allocations: 0.5655 MB / 0.6617 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.5184, allocations: 223.7 kB / 0.6619 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5186, allocations: 7.938 kB / 0.6619 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.5192, allocations: 55.94 kB / 0.662 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.5193, allocations: 23.97 kB / 0.662 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5193, allocations: 19.98 kB / 0.662 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007805/0.5201, allocations: 0.6123 MB / 0.6626 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5201, allocations: 0 / 0.6626 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001656/0.5218, allocations: 0.5384 MB / 0.6631 GB, free: 8.551 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.0007812/0.5225, allocations: 330.6 kB / 0.6634 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.5253, allocations: 0.8661 MB / 0.6643 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5253, allocations: 0 / 0.6643 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.5259, allocations: 231.6 kB / 0.6645 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.5277, allocations: 402.5 kB / 0.6649 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.5306, allocations: 1.891 MB / 0.6667 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.5313, allocations: 1.029 MB / 0.6677 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.5315, allocations: 83.42 kB / 0.6678 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.5315, allocations: 4 kB / 0.6678 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.04238/0.5739, allocations: 36.11 MB / 0.7031 GB, free: 15.82 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)