Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001276/0.001276, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01143/0.01143, allocations: 172.6 kB / 16.26 MB, free: 6.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.577/1.577, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.095/1.095, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 8 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 82.31 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4361/0.6521, allocations: 29.85 MB / 0.6171 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.6641, allocations: 10.72 MB / 0.6276 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.6656, allocations: 21.78 kB / 0.6276 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.6668, allocations: 324.3 kB / 0.6279 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.6704, allocations: 1.059 MB / 0.629 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.6727, allocations: 0.7713 MB / 0.6297 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00337/0.6761, allocations: 2.834 MB / 0.6325 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.677, allocations: 0.5623 MB / 0.633 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.679, allocations: 0.8878 MB / 0.6339 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/0.68, allocations: 0.6658 MB / 0.6345 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.68, allocations: 29.38 kB / 0.6346 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.6814, allocations: 0.5711 MB / 0.6351 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.6816, allocations: 146.2 kB / 0.6353 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.6821, allocations: 425.3 kB / 0.6357 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.6833, allocations: 1.045 MB / 0.6367 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6833, allocations: 0 / 0.6367 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6833, allocations: 0 / 0.6367 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6834, allocations: 0 / 0.6367 GB, free: 27.09 MB / 0.4981 GB 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.001653/0.685, allocations: 1.019 MB / 0.6377 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6851, allocations: 11.94 kB / 0.6377 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.6852, allocations: 96.34 kB / 0.6378 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.686, allocations: 0.5586 MB / 0.6383 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.686, allocations: 38.41 kB / 0.6384 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.6861, allocations: 51.75 kB / 0.6384 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.6869, allocations: 425.1 kB / 0.6388 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.6869, allocations: 0 / 0.6388 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.6869, allocations: 19.22 kB / 0.6389 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6869, allocations: 10 kB / 0.6389 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.6875, allocations: 315.6 kB / 0.6392 GB, free: 25.59 MB / 0.4981 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.002423/0.6899, allocations: 1.859 MB / 0.641 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.6903, allocations: 178 kB / 0.6411 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.6905, allocations: 90.22 kB / 0.6412 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.6907, allocations: 334 kB / 0.6416 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6908, allocations: 37.05 kB / 0.6416 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.6908, allocations: 0 / 0.6416 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0007063/0.6915, allocations: 323.9 kB / 0.6419 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6915, allocations: 58.27 kB / 0.642 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.6923, allocations: 0.6908 MB / 0.6426 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.6923, allocations: 33.11 kB / 0.6427 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.6925, allocations: 365.8 kB / 0.643 GB, free: 23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.6926, allocations: 66.98 kB / 0.6431 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.6926, allocations: 42.2 kB / 0.6431 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6927, allocations: 376.6 kB / 0.6435 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.693, allocations: 111.9 kB / 0.6436 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.6933, allocations: 184.6 kB / 0.6438 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.6937, allocations: 255.8 kB / 0.644 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6937, allocations: 0 / 0.644 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006411/0.6943, allocations: 408.1 kB / 0.6444 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.6944, allocations: 108.6 kB / 0.6445 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6944, allocations: 2.625 kB / 0.6445 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6944, allocations: 2.625 kB / 0.6445 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.6954, allocations: 160.3 kB / 0.6446 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009499/0.6964, allocations: 2.376 MB / 0.647 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.697, allocations: 84.12 kB / 0.647 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.697, allocations: 17.16 kB / 0.6471 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.6971, allocations: 6.781 kB / 0.6471 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005431/0.6976, allocations: 297.9 kB / 0.6474 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.6976, allocations: 0 / 0.6474 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.6976, allocations: 2.719 kB / 0.6474 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.698, allocations: 104.9 kB / 0.6475 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.698, allocations: 6.922 kB / 0.6475 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.6985, allocations: 80.44 kB / 0.6475 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.6985, allocations: 16.33 kB / 0.6476 GB, free: 19.48 MB / 0.4981 GB 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.0003013/0.6988, allocations: 263 kB / 0.6478 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.6989, allocations: 74.92 kB / 0.6479 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.6996, allocations: 315.2 kB / 0.6482 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6996, allocations: 3.312 kB / 0.6482 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6996, allocations: 3.328 kB / 0.6482 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6996, allocations: 0 / 0.6482 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.7008, allocations: 0.8969 MB / 0.6491 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.7008, allocations: 10.69 kB / 0.6491 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.7011, allocations: 79.05 kB / 0.6491 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.7012, allocations: 3.188 kB / 0.6491 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.7012, allocations: 3.031 kB / 0.6492 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007209/0.7019, allocations: 2.361 MB / 0.6515 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7019, allocations: 2.719 kB / 0.6515 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.7024, allocations: 415.8 kB / 0.6519 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.7026, allocations: 176.5 kB / 0.652 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.7026, allocations: 6.625 kB / 0.652 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.703, allocations: 47.42 kB / 0.6521 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.7031, allocations: 18.25 kB / 0.6521 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.7031, allocations: 7.875 kB / 0.6521 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004831/0.7036, allocations: 480.8 kB / 0.6526 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7036, allocations: 0 / 0.6526 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008844/0.7045, allocations: 349.6 kB / 0.6529 GB, free: 15.43 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 (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.0004889/0.705, allocations: 259.2 kB / 0.6531 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.7065, allocations: 0.5046 MB / 0.6536 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7065, allocations: 0 / 0.6536 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.7069, allocations: 147.2 kB / 0.6538 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.709, allocations: 364.8 kB / 0.6541 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.711, allocations: 1.4 MB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.7114, allocations: 0.932 MB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000539/0.712, allocations: 122 kB / 0.6565 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.7121, allocations: 52.52 kB / 0.6566 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.7121, allocations: 0 / 0.6566 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.03121/0.7433, allocations: 12.33 MB / 0.6686 GB, free: 12.46 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)