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.001154/0.001155, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001208/0.001209, allocations: 191.5 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7729/0.7729, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3903, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02076/0.4111, allocations: 29.83 MB / 0.6149 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4218, allocations: 8.134 MB / 0.6228 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4229, allocations: 31.75 kB / 0.6229 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.4239, allocations: 428.9 kB / 0.6233 GB, free: 4.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.4272, allocations: 1.375 MB / 0.6246 GB, free: 2.711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.4299, allocations: 1.138 MB / 0.6257 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.4341, allocations: 3.549 MB / 0.6292 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.436, allocations: 1.339 MB / 0.6305 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.4396, allocations: 1.675 MB / 0.6321 GB, free: 11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.4432, allocations: 1.62 MB / 0.6337 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.4436, allocations: 128 kB / 0.6339 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.446, allocations: 1.022 MB / 0.6348 GB, free: 8.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.4465, allocations: 410.7 kB / 0.6352 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.4477, allocations: 0.7506 MB / 0.636 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.451, allocations: 2.201 MB / 0.6381 GB, free: 4.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.451, allocations: 0 / 0.6381 GB, free: 4.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.451, allocations: 4 kB / 0.6381 GB, free: 4.863 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.4511, allocations: 0 / 0.6381 GB, free: 4.863 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.002789/0.4539, allocations: 1.675 MB / 0.6398 GB, free: 3.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4539, allocations: 13.11 kB / 0.6398 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.4543, allocations: 150.8 kB / 0.6399 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.4562, allocations: 0.9183 MB / 0.6408 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.4563, allocations: 81.31 kB / 0.6409 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.4565, allocations: 120 kB / 0.641 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4576, allocations: 0.6356 MB / 0.6416 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4576, allocations: 0 / 0.6416 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.4576, allocations: 24 kB / 0.6417 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4577, allocations: 19.94 kB / 0.6417 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.4585, allocations: 464.8 kB / 0.6421 GB, free: 0.6406 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.004416/0.4629, allocations: 2.871 MB / 0.6449 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.4635, allocations: 308 kB / 0.6452 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.4638, allocations: 153.3 kB / 0.6454 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.4642, allocations: 348.7 kB / 0.6457 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4642, allocations: 30.84 kB / 0.6457 GB, free: 12.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.4642, allocations: 4 kB / 0.6457 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001272/0.4655, allocations: 0.5283 MB / 0.6462 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4655, allocations: 55.41 kB / 0.6463 GB, free: 12.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.4665, allocations: 0.9075 MB / 0.6472 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.4667, allocations: 57.7 kB / 0.6472 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.4671, allocations: 486.6 kB / 0.6477 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.4672, allocations: 118.3 kB / 0.6478 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.4676, allocations: 291 kB / 0.6481 GB, free: 10.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4677, allocations: 330.1 kB / 0.6484 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.4681, allocations: 189.4 kB / 0.6486 GB, free: 9.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4694, allocations: 1.159 MB / 0.6497 GB, free: 8.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.4702, allocations: 451.4 kB / 0.6501 GB, free: 7.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4702, allocations: 4 kB / 0.6501 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001317/0.4715, allocations: 0.6501 MB / 0.6508 GB, free: 7.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4716, allocations: 8 kB / 0.6508 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.4716, allocations: 0 / 0.6508 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4716, allocations: 4.094 kB / 0.6508 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.473, allocations: 247.8 kB / 0.651 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.4745, allocations: 2.95 MB / 0.6539 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.4774, allocations: 0.6989 MB / 0.6546 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.4775, allocations: 31.98 kB / 0.6546 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000656/0.4782, allocations: 369.3 kB / 0.655 GB, free: 2.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00122/0.4794, allocations: 1.154 MB / 0.6561 GB, free: 1.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007323/0.4802, allocations: 464.8 kB / 0.6565 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.4802, allocations: 0 / 0.6565 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001386/0.4816, allocations: 0.6548 MB / 0.6572 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4816, allocations: 4.312 kB / 0.6572 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4816, allocations: 12 kB / 0.6572 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.4816, allocations: 8 kB / 0.6572 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.4823, allocations: 155.8 kB / 0.6574 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4823, allocations: 8 kB / 0.6574 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.4863, allocations: 0.9651 MB / 0.6583 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.4864, allocations: 24 kB / 0.6583 GB, free: 14.77 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.000278/0.4867, allocations: 254.3 kB / 0.6586 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.4869, allocations: 94.78 kB / 0.6587 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4879, allocations: 0.5085 MB / 0.6592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.488, allocations: 8 kB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.488, allocations: 0 / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.488, allocations: 0 / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.4899, allocations: 1.246 MB / 0.6604 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4899, allocations: 4.125 kB / 0.6604 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.4904, allocations: 111.8 kB / 0.6605 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4904, allocations: 4 kB / 0.6605 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.4904, allocations: 15.94 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.4918, allocations: 2.942 MB / 0.6634 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4918, allocations: 8.125 kB / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.4927, allocations: 0.5634 MB / 0.6639 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.493, allocations: 211.7 kB / 0.6641 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.4931, allocations: 8.094 kB / 0.6642 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.4935, allocations: 31.91 kB / 0.6642 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.4936, allocations: 31.94 kB / 0.6642 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.4936, allocations: 12 kB / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006884/0.4943, allocations: 0.6123 MB / 0.6648 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4943, allocations: 0 / 0.6648 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001368/0.4957, allocations: 0.5461 MB / 0.6654 GB, free: 7.316 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.0006203/0.4963, allocations: 329.1 kB / 0.6657 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.4987, allocations: 0.8432 MB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4987, allocations: 4.125 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.4993, allocations: 231.8 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.5009, allocations: 415.8 kB / 0.6671 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.5031, allocations: 1.502 MB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.5036, allocations: 1.025 MB / 0.6696 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008506/0.5045, allocations: 210.9 kB / 0.6698 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.5047, allocations: 75.42 kB / 0.6699 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5047, allocations: 0 / 0.6699 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.04047/0.5452, allocations: 24.91 MB / 0.6942 GB, free: 10.16 MB / 0.5294 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)