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.001312/0.001312, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 189.1 kB / 16.67 MB, free: 6.57 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.301/1.301, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7114/0.7114, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 0.5813 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4164, allocations: 80.2 MB / 0.6597 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02646/0.4429, allocations: 30.75 MB / 0.6897 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.456, allocations: 10.84 MB / 0.7003 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.4571, allocations: 27.69 kB / 0.7003 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.4582, allocations: 402.8 kB / 0.7007 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.4609, allocations: 1.151 MB / 0.7018 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.4629, allocations: 0.8553 MB / 0.7027 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.4653, allocations: 2.053 MB / 0.7047 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/0.4663, allocations: 0.6828 MB / 0.7053 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.4682, allocations: 0.9806 MB / 0.7063 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.469, allocations: 0.6788 MB / 0.7069 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.4691, allocations: 59 kB / 0.707 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4703, allocations: 0.6074 MB / 0.7076 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.4704, allocations: 166.8 kB / 0.7078 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.4708, allocations: 435.7 kB / 0.7082 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.4721, allocations: 1.115 MB / 0.7093 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4721, allocations: 0 / 0.7093 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4722, allocations: 1.344 kB / 0.7093 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.4722, allocations: 0 / 0.7093 GB, free: 3.414 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.001555/0.4737, allocations: 1.186 MB / 0.7104 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4738, allocations: 15.97 kB / 0.7104 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4739, allocations: 100.3 kB / 0.7105 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.4747, allocations: 0.6007 MB / 0.7111 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.4748, allocations: 40.94 kB / 0.7112 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.4748, allocations: 60 kB / 0.7112 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.4755, allocations: 406.4 kB / 0.7116 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4755, allocations: 0 / 0.7116 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4755, allocations: 20 kB / 0.7116 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4756, allocations: 12 kB / 0.7116 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.4761, allocations: 295.8 kB / 0.7119 GB, free: 0.7109 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.002372/0.4785, allocations: 1.87 MB / 0.7137 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4788, allocations: 168.9 kB / 0.7139 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.479, allocations: 80.81 kB / 0.714 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.4792, allocations: 336.4 kB / 0.7143 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4793, allocations: 42.52 kB / 0.7143 GB, free: 13.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.4793, allocations: 0 / 0.7143 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0006435/0.4799, allocations: 310.9 kB / 0.7146 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.48, allocations: 55.41 kB / 0.7147 GB, free: 13.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.4807, allocations: 0.6843 MB / 0.7154 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4807, allocations: 33.7 kB / 0.7154 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.4809, allocations: 369.2 kB / 0.7157 GB, free: 12.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.481, allocations: 71.42 kB / 0.7158 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4811, allocations: 90.02 kB / 0.7159 GB, free: 12.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4813, allocations: 378.7 kB / 0.7163 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.4815, allocations: 118.3 kB / 0.7164 GB, free: 11.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.4818, allocations: 184.6 kB / 0.7165 GB, free: 11.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.4822, allocations: 237.6 kB / 0.7168 GB, free: 11.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4822, allocations: 4 kB / 0.7168 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006568/0.4829, allocations: 398.6 kB / 0.7172 GB, free: 11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4829, allocations: 4 kB / 0.7172 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4829, allocations: 0 / 0.7172 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4829, allocations: 4 kB / 0.7172 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.4838, allocations: 155.8 kB / 0.7173 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.485, allocations: 2.371 MB / 0.7196 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.4855, allocations: 51.64 kB / 0.7197 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4855, allocations: 19.98 kB / 0.7197 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003563/0.4859, allocations: 248.7 kB / 0.7199 GB, free: 8.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002667/0.4861, allocations: 182.9 kB / 0.7201 GB, free: 7.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003945/0.4865, allocations: 232.7 kB / 0.7203 GB, free: 7.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.4866, allocations: 7.984 kB / 0.7203 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006208/0.4872, allocations: 385.1 kB / 0.7207 GB, free: 7.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.4872, allocations: 7.938 kB / 0.7207 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4872, allocations: 4 kB / 0.7207 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.4872, allocations: 0 / 0.7207 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.4876, allocations: 99.88 kB / 0.7208 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4876, allocations: 4 kB / 0.7208 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.488, allocations: 47.88 kB / 0.7209 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.488, allocations: 8 kB / 0.7209 GB, free: 7.059 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.0001061/0.4882, allocations: 200.5 kB / 0.7211 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.4882, allocations: 75.47 kB / 0.7211 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.4888, allocations: 315.6 kB / 0.7214 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4889, allocations: 4 kB / 0.7214 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4889, allocations: 0 / 0.7214 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4889, allocations: 3.984 kB / 0.7214 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.49, allocations: 0.884 MB / 0.7223 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.49, allocations: 4 kB / 0.7223 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.4903, allocations: 71.81 kB / 0.7224 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4903, allocations: 4 kB / 0.7224 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4904, allocations: 8 kB / 0.7224 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009755/0.4913, allocations: 2.352 MB / 0.7247 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4913, allocations: 7.969 kB / 0.7247 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.4918, allocations: 407.7 kB / 0.7251 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.492, allocations: 164.6 kB / 0.7252 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.4921, allocations: 8 kB / 0.7252 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.4924, allocations: 11.98 kB / 0.7253 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4924, allocations: 23.91 kB / 0.7253 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4925, allocations: 8 kB / 0.7253 GB, free: 2.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000493/0.493, allocations: 483 kB / 0.7257 GB, free: 1.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.493, allocations: 4 kB / 0.7257 GB, free: 1.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007666/0.4937, allocations: 355.2 kB / 0.7261 GB, free: 1.492 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.0004539/0.4942, allocations: 247.8 kB / 0.7263 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.4957, allocations: 499.2 kB / 0.7268 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4957, allocations: 0 / 0.7268 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.4961, allocations: 127.8 kB / 0.7269 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.4974, allocations: 333.1 kB / 0.7272 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.4991, allocations: 1.143 MB / 0.7284 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.4995, allocations: 0.9296 MB / 0.7293 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.4999, allocations: 114.4 kB / 0.7294 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.5, allocations: 51.42 kB / 0.7294 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5, allocations: 0 / 0.7294 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.02112/0.5211, allocations: 12.64 MB / 0.7418 GB, free: 1.641 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)