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.005788/0.005788, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001238/0.001238, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.5814 GB, free: 7.535 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.499, allocations: 80.19 MB / 0.6597 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03194/0.5309, allocations: 30.75 MB / 0.6897 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.5464, allocations: 10.84 MB / 0.7003 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.5484, allocations: 26.38 kB / 0.7003 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.5499, allocations: 406.5 kB / 0.7007 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.5536, allocations: 1.206 MB / 0.7019 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.5564, allocations: 0.8569 MB / 0.7027 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.5595, allocations: 2.064 MB / 0.7047 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5606, allocations: 0.6837 MB / 0.7054 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.563, allocations: 1.001 MB / 0.7064 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.5642, allocations: 0.6773 MB / 0.707 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.5643, allocations: 55.44 kB / 0.7071 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.5659, allocations: 0.6086 MB / 0.7077 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.5661, allocations: 170.1 kB / 0.7078 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.5666, allocations: 435 kB / 0.7083 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.5683, allocations: 1.105 MB / 0.7093 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5683, allocations: 3.938 kB / 0.7093 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5683, allocations: 1.625 kB / 0.7093 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5683, allocations: 0 / 0.7093 GB, free: 3.344 MB / 0.5294 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.001918/0.5702, allocations: 1.167 MB / 0.7105 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5703, allocations: 8.031 kB / 0.7105 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.5704, allocations: 95.81 kB / 0.7106 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/0.5714, allocations: 0.5921 MB / 0.7112 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.5714, allocations: 41 kB / 0.7112 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.5715, allocations: 56 kB / 0.7113 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.5723, allocations: 406.4 kB / 0.7116 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5724, allocations: 0 / 0.7116 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.5724, allocations: 20 kB / 0.7117 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5724, allocations: 12 kB / 0.7117 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.5731, allocations: 303.8 kB / 0.712 GB, free: 0.6211 MB / 0.5294 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.002796/0.5759, allocations: 1.854 MB / 0.7138 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.5762, allocations: 174.4 kB / 0.7139 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.5764, allocations: 80.8 kB / 0.714 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.5767, allocations: 332.4 kB / 0.7143 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5767, allocations: 42.55 kB / 0.7144 GB, free: 13.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.5767, allocations: 0 / 0.7144 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.000723/0.5775, allocations: 310.8 kB / 0.7147 GB, free: 13.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5775, allocations: 51.41 kB / 0.7147 GB, free: 13.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.5783, allocations: 0.6882 MB / 0.7154 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.5783, allocations: 33.7 kB / 0.7154 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.5786, allocations: 364.7 kB / 0.7158 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.5787, allocations: 59.11 kB / 0.7158 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.5788, allocations: 93.95 kB / 0.7159 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.579, allocations: 374.7 kB / 0.7163 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.5792, allocations: 118.3 kB / 0.7164 GB, free: 11.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.5796, allocations: 192.5 kB / 0.7166 GB, free: 11.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.5801, allocations: 233.6 kB / 0.7168 GB, free: 11.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5801, allocations: 0 / 0.7168 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000772/0.5809, allocations: 398.2 kB / 0.7172 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5809, allocations: 5.875 kB / 0.7172 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5809, allocations: 0 / 0.7172 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.581, allocations: 4 kB / 0.7172 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5821, allocations: 163.8 kB / 0.7173 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5835, allocations: 2.364 MB / 0.7196 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.584, allocations: 67.41 kB / 0.7197 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.5841, allocations: 12 kB / 0.7197 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004047/0.5845, allocations: 256.7 kB / 0.72 GB, free: 7.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000292/0.5848, allocations: 174.7 kB / 0.7201 GB, free: 7.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004185/0.5852, allocations: 228.7 kB / 0.7204 GB, free: 7.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.5853, allocations: 4.109 kB / 0.7204 GB, free: 7.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006728/0.5859, allocations: 380.7 kB / 0.7207 GB, free: 7.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.586, allocations: 7.938 kB / 0.7207 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.586, allocations: 4 kB / 0.7207 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-06/0.586, allocations: 0 / 0.7207 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.5864, allocations: 107.9 kB / 0.7208 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5864, allocations: 4 kB / 0.7208 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.5869, allocations: 39.81 kB / 0.7209 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.5869, allocations: 12 kB / 0.7209 GB, free: 6.996 MB / 0.545 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.000142/0.587, allocations: 200.5 kB / 0.7211 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.5871, allocations: 75 kB / 0.7212 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/0.5878, allocations: 303.5 kB / 0.7214 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5878, allocations: 7.984 kB / 0.7214 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5878, allocations: 0 / 0.7214 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5878, allocations: 0 / 0.7214 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5891, allocations: 0.8839 MB / 0.7223 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5891, allocations: 4 kB / 0.7223 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.5894, allocations: 79.95 kB / 0.7224 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5894, allocations: 0 / 0.7224 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5894, allocations: 7.984 kB / 0.7224 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.5905, allocations: 2.356 MB / 0.7247 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5905, allocations: 4.031 kB / 0.7247 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.5911, allocations: 397.8 kB / 0.7251 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5913, allocations: 164.1 kB / 0.7252 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.5914, allocations: 8 kB / 0.7252 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.5917, allocations: 19.97 kB / 0.7253 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.5918, allocations: 19.86 kB / 0.7253 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.5918, allocations: 12 kB / 0.7253 GB, free: 2.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000528/0.5923, allocations: 483 kB / 0.7258 GB, free: 1.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5923, allocations: 0 / 0.7258 GB, free: 1.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008745/0.5932, allocations: 343.2 kB / 0.7261 GB, free: 1.457 MB / 0.545 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.0004982/0.5937, allocations: 263.2 kB / 0.7263 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.5953, allocations: 0.4916 MB / 0.7268 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5954, allocations: 0 / 0.7268 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.5958, allocations: 136.1 kB / 0.7269 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5972, allocations: 327.2 kB / 0.7273 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.599, allocations: 1.096 MB / 0.7283 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.5995, allocations: 0.9374 MB / 0.7292 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000381/0.5998, allocations: 111 kB / 0.7294 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6, allocations: 51.44 kB / 0.7294 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6, allocations: 0 / 0.7294 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.02221/0.6222, allocations: 12.64 MB / 0.7417 GB, free: 1.625 MB / 0.5606 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)