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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7567/0.7567, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 403.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.000992, allocations: 98.88 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009699/0.0009702, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1402, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02914/0.1693, allocations: 30.59 MB / 0.6701 GB, free: 8.074 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1824, allocations: 10.84 MB / 0.6806 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.1838, allocations: 23.81 kB / 0.6807 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.185, allocations: 314.2 kB / 0.681 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.1881, allocations: 1.064 MB / 0.682 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1904, allocations: 0.7562 MB / 0.6827 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.1937, allocations: 2.845 MB / 0.6855 GB, free: 8.195 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1948, allocations: 0.5831 MB / 0.6861 GB, free: 7.598 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.1972, allocations: 0.91 MB / 0.687 GB, free: 6.684 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1984, allocations: 0.6885 MB / 0.6877 GB, free: 5.992 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-05/0.1985, allocations: 36 kB / 0.6877 GB, free: 5.957 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.1999, allocations: 0.577 MB / 0.6882 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2001, allocations: 151.2 kB / 0.6884 GB, free: 5.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.2005, allocations: 417.7 kB / 0.6888 GB, free: 4.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.202, allocations: 1.055 MB / 0.6898 GB, free: 3.762 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.202, allocations: 0 / 0.6898 GB, free: 3.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.202, allocations: 0 / 0.6898 GB, free: 3.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.202, allocations: 0 / 0.6898 GB, free: 3.762 MB / 490.7 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.001963/0.204, allocations: 1.168 MB / 0.691 GB, free: 2.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.204, allocations: 8.031 kB / 0.691 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.2042, allocations: 99.81 kB / 0.6911 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.205, allocations: 0.565 MB / 0.6916 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.2051, allocations: 37 kB / 0.6917 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.2051, allocations: 55.98 kB / 0.6917 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.2059, allocations: 422.4 kB / 0.6921 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2059, allocations: 0 / 0.6921 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.206, allocations: 16 kB / 0.6921 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.206, allocations: 12 kB / 0.6921 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.2066, allocations: 299.8 kB / 0.6924 GB, free: 1 MB / 490.7 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.279/0.4856, allocations: 1.843 MB / 0.6942 GB, free: 61.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.486, allocations: 170.6 kB / 0.6944 GB, free: 60.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4862, allocations: 83.94 kB / 0.6945 GB, free: 60.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.4864, allocations: 336.5 kB / 0.6948 GB, free: 60.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.4865, allocations: 32.02 kB / 0.6948 GB, free: 60.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.4865, allocations: 0 / 0.6948 GB, free: 60.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008078/0.4873, allocations: 308.7 kB / 0.6951 GB, free: 60.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4873, allocations: 52.59 kB / 0.6952 GB, free: 60.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/0.4883, allocations: 0.6886 MB / 0.6958 GB, free: 60.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.4883, allocations: 31.98 kB / 0.6959 GB, free: 60.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.4885, allocations: 370.9 kB / 0.6962 GB, free: 59.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4886, allocations: 62.45 kB / 0.6963 GB, free: 59.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4887, allocations: 95.86 kB / 0.6964 GB, free: 59.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.4888, allocations: 378.5 kB / 0.6967 GB, free: 59.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.4891, allocations: 112.4 kB / 0.6968 GB, free: 59.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.4894, allocations: 186 kB / 0.697 GB, free: 59.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.4899, allocations: 237.4 kB / 0.6972 GB, free: 59.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4899, allocations: 0 / 0.6972 GB, free: 59.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007819/0.4907, allocations: 395.5 kB / 0.6976 GB, free: 58.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4907, allocations: 5.219 kB / 0.6976 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4908, allocations: 6.672 kB / 0.6976 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4908, allocations: 2.922 kB / 0.6976 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.4918, allocations: 163.3 kB / 0.6978 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008078/0.4927, allocations: 2.366 MB / 0.7001 GB, free: 56.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.4933, allocations: 84.23 kB / 0.7002 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.4934, allocations: 16.62 kB / 0.7002 GB, free: 56.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004838/0.4939, allocations: 249.7 kB / 0.7004 GB, free: 56.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003048/0.4942, allocations: 175.3 kB / 0.7006 GB, free: 56.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004307/0.4946, allocations: 229.2 kB / 0.7008 GB, free: 56.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4946, allocations: 3.406 kB / 0.7008 GB, free: 56.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007881/0.4954, allocations: 386.8 kB / 0.7012 GB, free: 56.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.4954, allocations: 6.188 kB / 0.7012 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4955, allocations: 1.594 kB / 0.7012 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.4955, allocations: 5.188 kB / 0.7012 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.4959, allocations: 100 kB / 0.7013 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4959, allocations: 1.875 kB / 0.7013 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.4965, allocations: 72.77 kB / 0.7014 GB, free: 56.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.4966, allocations: 16.45 kB / 0.7014 GB, free: 56.04 MB / 490.7 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.0001149/0.4967, allocations: 195.9 kB / 0.7016 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4968, allocations: 68.97 kB / 0.7016 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.4975, allocations: 320.1 kB / 0.7019 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4976, allocations: 2.703 kB / 0.7019 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4976, allocations: 1.125 kB / 0.7019 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4976, allocations: 1.406 kB / 0.7019 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.499, allocations: 0.8897 MB / 0.7028 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.499, allocations: 1.656 kB / 0.7028 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.4994, allocations: 75.39 kB / 0.7029 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4994, allocations: 2.438 kB / 0.7029 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4995, allocations: 7.922 kB / 0.7029 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006406/0.5001, allocations: 2.352 MB / 0.7052 GB, free: 52.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5001, allocations: 0.75 kB / 0.7052 GB, free: 52.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5012, allocations: 1.16 MB / 0.7063 GB, free: 51.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.5014, allocations: 166.9 kB / 0.7065 GB, free: 51.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.5015, allocations: 12.77 kB / 0.7065 GB, free: 51.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.5019, allocations: 49.92 kB / 0.7065 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.502, allocations: 17.69 kB / 0.7066 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.502, allocations: 9.219 kB / 0.7066 GB, free: 51.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005736/0.5026, allocations: 479.8 kB / 0.707 GB, free: 51.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5026, allocations: 0 / 0.707 GB, free: 51.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001161/0.5037, allocations: 355.4 kB / 0.7074 GB, free: 51.41 MB / 490.7 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.0004834/0.5042, allocations: 254.4 kB / 0.7076 GB, free: 51.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.5059, allocations: 498.9 kB / 0.7081 GB, free: 51.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5059, allocations: 0 / 0.7081 GB, free: 51.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.5063, allocations: 139.3 kB / 0.7082 GB, free: 51.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5084, allocations: 374 kB / 0.7086 GB, free: 51.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5105, allocations: 1.549 MB / 0.7101 GB, free: 50.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.511, allocations: 0.9334 MB / 0.711 GB, free: 49.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.5116, allocations: 115.9 kB / 0.7111 GB, free: 49.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5117, allocations: 51.89 kB / 0.7112 GB, free: 49.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5117, allocations: 0 / 0.7112 GB, free: 49.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0253/0.537, allocations: 12.72 MB / 0.7236 GB, free: 44.8 MB / 490.7 MB 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)