Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008016, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006184/0.006184, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.78/0.78, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 13.28 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4795, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03885/0.5184, allocations: 29.87 MB / 0.6128 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.5349, allocations: 10.72 MB / 0.6233 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.5367, allocations: 23.25 kB / 0.6233 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.5383, allocations: 321.8 kB / 0.6236 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.5425, allocations: 1.064 MB / 0.6247 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.5453, allocations: 0.7602 MB / 0.6254 GB, free: 3.547 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004093/0.5494, allocations: 2.831 MB / 0.6282 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.5508, allocations: 0.5603 MB / 0.6287 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.5536, allocations: 0.8813 MB / 0.6296 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.5552, allocations: 0.6813 MB / 0.6303 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.5554, allocations: 28 kB / 0.6303 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.5572, allocations: 0.5731 MB / 0.6308 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.5575, allocations: 147.2 kB / 0.631 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008601/0.5583, allocations: 423.4 kB / 0.6314 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.5602, allocations: 1.043 MB / 0.6324 GB, free: 14.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5602, allocations: 0 / 0.6324 GB, free: 14.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5602, allocations: 0 / 0.6324 GB, free: 14.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.5603, allocations: 0 / 0.6324 GB, free: 14.38 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002035/0.5623, allocations: 1.02 MB / 0.6334 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5624, allocations: 12.03 kB / 0.6334 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.5627, allocations: 95.81 kB / 0.6335 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.5637, allocations: 0.5574 MB / 0.634 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.5638, allocations: 41 kB / 0.6341 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.5639, allocations: 56 kB / 0.6341 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.5648, allocations: 414.4 kB / 0.6345 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5648, allocations: 0 / 0.6345 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.5648, allocations: 20 kB / 0.6346 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5649, allocations: 19.94 kB / 0.6346 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.5655, allocations: 311.8 kB / 0.6349 GB, free: 11.76 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.003289/0.5688, allocations: 1.869 MB / 0.6367 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.5692, allocations: 178.4 kB / 0.6369 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.5694, allocations: 84.81 kB / 0.6369 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.5697, allocations: 340.5 kB / 0.6373 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5698, allocations: 38.56 kB / 0.6373 GB, free: 9.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.5698, allocations: 4 kB / 0.6373 GB, free: 9.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008101/0.5706, allocations: 322.8 kB / 0.6376 GB, free: 8.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.5707, allocations: 59.41 kB / 0.6377 GB, free: 8.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/0.5716, allocations: 0.6765 MB / 0.6383 GB, free: 7.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.5717, allocations: 33.7 kB / 0.6384 GB, free: 7.887 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.572, allocations: 360.7 kB / 0.6387 GB, free: 7.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.572, allocations: 70.98 kB / 0.6388 GB, free: 7.461 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.5721, allocations: 41.7 kB / 0.6388 GB, free: 7.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5723, allocations: 382.7 kB / 0.6392 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5726, allocations: 112.7 kB / 0.6393 GB, free: 6.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.5729, allocations: 188.6 kB / 0.6395 GB, free: 6.715 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.5734, allocations: 249.6 kB / 0.6397 GB, free: 6.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.5734, allocations: 0 / 0.6397 GB, free: 6.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007681/0.5742, allocations: 406.2 kB / 0.6401 GB, free: 6.062 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.5743, allocations: 115 kB / 0.6402 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.5743, allocations: 4 kB / 0.6402 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5743, allocations: 7.938 kB / 0.6402 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.5754, allocations: 159.9 kB / 0.6404 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5768, allocations: 2.363 MB / 0.6427 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.5774, allocations: 83.78 kB / 0.6428 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.5775, allocations: 16 kB / 0.6428 GB, free: 3.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.5775, allocations: 8 kB / 0.6428 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005916/0.5781, allocations: 291.9 kB / 0.6431 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5781, allocations: 7.922 kB / 0.6431 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.5781, allocations: 4 kB / 0.6431 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.5785, allocations: 107.8 kB / 0.6432 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5785, allocations: 4 kB / 0.6432 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.5791, allocations: 75.72 kB / 0.6433 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.5792, allocations: 16 kB / 0.6433 GB, free: 2.711 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.5795, allocations: 266.5 kB / 0.6435 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5796, allocations: 71.14 kB / 0.6436 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.5804, allocations: 319.7 kB / 0.6439 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5804, allocations: 4 kB / 0.6439 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.5804, allocations: 4 kB / 0.6439 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5804, allocations: 0 / 0.6439 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.5819, allocations: 0.9033 MB / 0.6448 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5819, allocations: 0 / 0.6448 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.5822, allocations: 83.86 kB / 0.6449 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5823, allocations: 0 / 0.6449 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5823, allocations: 11.98 kB / 0.6449 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.5834, allocations: 2.352 MB / 0.6472 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5834, allocations: 4.094 kB / 0.6472 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.584, allocations: 417.9 kB / 0.6476 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.5843, allocations: 172.2 kB / 0.6477 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.5845, allocations: 8 kB / 0.6477 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.5849, allocations: 55.78 kB / 0.6478 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.585, allocations: 15.92 kB / 0.6478 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.585, allocations: 8 kB / 0.6478 GB, free: 13.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005834/0.5856, allocations: 490.9 kB / 0.6483 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5856, allocations: 0 / 0.6483 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5867, allocations: 343.2 kB / 0.6486 GB, free: 13.01 MB / 494.1 MB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006413/0.5873, allocations: 246.4 kB / 0.6489 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.589, allocations: 0.4965 MB / 0.6493 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.589, allocations: 8 kB / 0.6493 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.5894, allocations: 147.7 kB / 0.6495 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.5916, allocations: 368.1 kB / 0.6498 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.5938, allocations: 1.391 MB / 0.6512 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.5943, allocations: 0.9332 MB / 0.6521 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005612/0.5949, allocations: 119.7 kB / 0.6522 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.595, allocations: 47.42 kB / 0.6523 GB, free: 9.23 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5951, allocations: 0 / 0.6523 GB, free: 9.23 MB / 494.1 MB Notification: Performance of Templates: time 0.02468/0.6197, allocations: 12.34 MB / 0.6643 GB, free: 13.11 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)