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.006305/0.006305, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001366/0.001366, allocations: 195.7 kB / 16.67 MB, free: 6.352 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9439/0.9439, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4586, allocations: 80.92 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03011/0.4887, allocations: 29.83 MB / 0.6938 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5035, allocations: 8.142 MB / 0.7017 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.5053, allocations: 28.62 kB / 0.7018 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.5067, allocations: 431.5 kB / 0.7022 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.5111, allocations: 1.371 MB / 0.7035 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.5143, allocations: 1.144 MB / 0.7046 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00492/0.5192, allocations: 3.546 MB / 0.7081 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.5212, allocations: 1.335 MB / 0.7094 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.5243, allocations: 1.683 MB / 0.711 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.5276, allocations: 1.616 MB / 0.7126 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.5281, allocations: 128 kB / 0.7127 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.5309, allocations: 1.022 MB / 0.7137 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005375/0.5314, allocations: 418.7 kB / 0.7141 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.5325, allocations: 0.7467 MB / 0.7149 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.536, allocations: 2.215 MB / 0.717 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.536, allocations: 3.984 kB / 0.717 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.536, allocations: 0 / 0.717 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.5361, allocations: 4 kB / 0.717 GB, free: 11.85 MB / 0.545 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.003083/0.5392, allocations: 1.701 MB / 0.7187 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5392, allocations: 12.02 kB / 0.7187 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.5396, allocations: 155.3 kB / 0.7189 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.5413, allocations: 0.9385 MB / 0.7198 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.5414, allocations: 81.31 kB / 0.7198 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.5416, allocations: 116 kB / 0.72 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5427, allocations: 0.6356 MB / 0.7206 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5427, allocations: 0 / 0.7206 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.5428, allocations: 31.94 kB / 0.7206 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.5428, allocations: 12 kB / 0.7206 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.5437, allocations: 460.9 kB / 0.7211 GB, free: 7.59 MB / 0.545 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.004374/0.5481, allocations: 2.88 MB / 0.7239 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.5487, allocations: 299.3 kB / 0.7242 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.549, allocations: 149.3 kB / 0.7243 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.5493, allocations: 348.6 kB / 0.7246 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5494, allocations: 42.84 kB / 0.7247 GB, free: 3.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.5494, allocations: 0 / 0.7247 GB, free: 3.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001319/0.5507, allocations: 0.5294 MB / 0.7252 GB, free: 3.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.5508, allocations: 55.41 kB / 0.7252 GB, free: 3.039 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5518, allocations: 0.9076 MB / 0.7261 GB, free: 2.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.5519, allocations: 53.7 kB / 0.7262 GB, free: 2.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.5524, allocations: 495.3 kB / 0.7267 GB, free: 1.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.5525, allocations: 119 kB / 0.7268 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.5529, allocations: 299 kB / 0.7271 GB, free: 1.148 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.553, allocations: 330.1 kB / 0.7274 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.5534, allocations: 193.4 kB / 0.7276 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.5548, allocations: 1.151 MB / 0.7287 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/0.5557, allocations: 459.4 kB / 0.7291 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5557, allocations: 0 / 0.7291 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001296/0.557, allocations: 0.6545 MB / 0.7298 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.557, allocations: 4 kB / 0.7298 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.557, allocations: 4 kB / 0.7298 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5571, allocations: 4 kB / 0.7298 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5584, allocations: 239.7 kB / 0.73 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.5601, allocations: 2.962 MB / 0.7329 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.5633, allocations: 0.695 MB / 0.7336 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.5633, allocations: 23.98 kB / 0.7336 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000684/0.564, allocations: 373.2 kB / 0.7339 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001337/0.5654, allocations: 1.162 MB / 0.7351 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008582/0.5662, allocations: 460.8 kB / 0.7355 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.5663, allocations: 4 kB / 0.7355 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001394/0.5677, allocations: 0.6555 MB / 0.7362 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5677, allocations: 10.81 kB / 0.7362 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5677, allocations: 11.92 kB / 0.7362 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.5677, allocations: 4 kB / 0.7362 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.5684, allocations: 159.8 kB / 0.7363 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5684, allocations: 7.938 kB / 0.7363 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.5727, allocations: 0.9655 MB / 0.7373 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.5728, allocations: 24 kB / 0.7373 GB, free: 5.707 MB / 0.5606 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.0003067/0.5731, allocations: 245.1 kB / 0.7375 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5733, allocations: 103.3 kB / 0.7376 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5745, allocations: 0.5084 MB / 0.7381 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5745, allocations: 11.98 kB / 0.7382 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5745, allocations: 0 / 0.7382 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5746, allocations: 4 kB / 0.7382 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.5765, allocations: 1.245 MB / 0.7394 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.5765, allocations: 4 kB / 0.7394 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.5771, allocations: 119.8 kB / 0.7395 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5771, allocations: 0 / 0.7395 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.5771, allocations: 15.94 kB / 0.7395 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.5786, allocations: 2.95 MB / 0.7424 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5786, allocations: 0 / 0.7424 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/0.5796, allocations: 0.5644 MB / 0.7429 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.5799, allocations: 216.3 kB / 0.7431 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.58, allocations: 8 kB / 0.7432 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.5804, allocations: 31.84 kB / 0.7432 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.5805, allocations: 31.95 kB / 0.7432 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.5805, allocations: 16 kB / 0.7432 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007306/0.5813, allocations: 0.6045 MB / 0.7438 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5813, allocations: 0 / 0.7438 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001468/0.5828, allocations: 0.5535 MB / 0.7444 GB, free: 14.23 MB / 0.5762 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.0007247/0.5835, allocations: 320.6 kB / 0.7447 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.586, allocations: 0.8501 MB / 0.7455 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5861, allocations: 4 kB / 0.7455 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.5866, allocations: 219.8 kB / 0.7457 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.5884, allocations: 413.5 kB / 0.7461 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5908, allocations: 1.548 MB / 0.7476 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.5914, allocations: 1.021 MB / 0.7486 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000855/0.5923, allocations: 222.7 kB / 0.7488 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5925, allocations: 79.42 kB / 0.7489 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.5925, allocations: 0 / 0.7489 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.03982/0.6323, allocations: 24.99 MB / 0.7733 GB, free: 0.9609 MB / 0.5919 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)