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.005216/0.005216, allocations: 103.8 kB / 15.73 MB, free: 6.055 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.001176/0.001176, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.89 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4815, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02964/0.5112, allocations: 30.75 MB / 0.6897 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5254, allocations: 10.84 MB / 0.7003 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.5273, allocations: 27.5 kB / 0.7003 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.5287, allocations: 405.9 kB / 0.7007 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.5323, allocations: 1.201 MB / 0.7019 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.535, allocations: 0.8573 MB / 0.7027 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.5381, allocations: 2.066 MB / 0.7047 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5392, allocations: 0.6847 MB / 0.7054 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.5415, allocations: 0.9977 MB / 0.7064 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5426, allocations: 0.6771 MB / 0.707 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.5427, allocations: 55.66 kB / 0.7071 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5443, allocations: 0.6087 MB / 0.7077 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.5445, allocations: 165.5 kB / 0.7078 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.5451, allocations: 435 kB / 0.7083 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.5467, allocations: 1.107 MB / 0.7093 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5467, allocations: 0 / 0.7093 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5467, allocations: 0 / 0.7093 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.5467, allocations: 1.094 kB / 0.7093 GB, free: 3.156 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.001852/0.5486, allocations: 1.163 MB / 0.7105 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5486, allocations: 8.031 kB / 0.7105 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.5488, allocations: 99.81 kB / 0.7106 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009024/0.5497, allocations: 0.5882 MB / 0.7112 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.5498, allocations: 37 kB / 0.7112 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.5498, allocations: 60 kB / 0.7113 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.5506, allocations: 410.4 kB / 0.7116 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5506, allocations: 0 / 0.7116 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.5507, allocations: 20 kB / 0.7117 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5507, allocations: 12 kB / 0.7117 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.5513, allocations: 303.8 kB / 0.712 GB, free: 480 kB / 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.00268/0.554, allocations: 1.854 MB / 0.7138 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.5543, allocations: 185.5 kB / 0.7139 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.5545, allocations: 76.81 kB / 0.714 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.5548, allocations: 336.4 kB / 0.7143 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5548, allocations: 38.55 kB / 0.7144 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.5548, allocations: 0 / 0.7144 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0007431/0.5556, allocations: 306.8 kB / 0.7147 GB, free: 13.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.5556, allocations: 63.33 kB / 0.7147 GB, free: 13.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.5564, allocations: 0.6804 MB / 0.7154 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5564, allocations: 33.7 kB / 0.7154 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.5567, allocations: 360.7 kB / 0.7158 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.5567, allocations: 63.11 kB / 0.7158 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5569, allocations: 93.95 kB / 0.7159 GB, free: 12.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5571, allocations: 378.7 kB / 0.7163 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5573, allocations: 118.3 kB / 0.7164 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.5577, allocations: 180.6 kB / 0.7166 GB, free: 11.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.5581, allocations: 245.5 kB / 0.7168 GB, free: 11.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5581, allocations: 3.984 kB / 0.7168 GB, free: 11.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000689/0.5588, allocations: 394.3 kB / 0.7172 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5588, allocations: 4 kB / 0.7172 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5589, allocations: 0 / 0.7172 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.5589, allocations: 7.984 kB / 0.7172 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.5599, allocations: 155.8 kB / 0.7173 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.5612, allocations: 2.367 MB / 0.7197 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.5617, allocations: 55.77 kB / 0.7197 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.5617, allocations: 20 kB / 0.7197 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004055/0.5622, allocations: 248.5 kB / 0.72 GB, free: 7.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003056/0.5625, allocations: 178.8 kB / 0.7201 GB, free: 7.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004335/0.5629, allocations: 232.6 kB / 0.7204 GB, free: 7.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.5629, allocations: 0 / 0.7204 GB, free: 7.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006854/0.5636, allocations: 376.8 kB / 0.7207 GB, free: 7.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5636, allocations: 7.938 kB / 0.7207 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5637, allocations: 4 kB / 0.7207 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/0.5637, allocations: 0 / 0.7207 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.5641, allocations: 111.8 kB / 0.7208 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5641, allocations: 4 kB / 0.7208 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.5645, allocations: 43.8 kB / 0.7209 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.5646, allocations: 8 kB / 0.7209 GB, free: 6.844 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.0001724/0.5647, allocations: 204.5 kB / 0.7211 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5649, allocations: 79 kB / 0.7212 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.5656, allocations: 303.1 kB / 0.7214 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5656, allocations: 4 kB / 0.7215 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5656, allocations: 0 / 0.7215 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5656, allocations: 3.938 kB / 0.7215 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5669, allocations: 0.8839 MB / 0.7223 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.567, allocations: 4 kB / 0.7223 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.5673, allocations: 68.02 kB / 0.7224 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5673, allocations: 0 / 0.7224 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5673, allocations: 12.11 kB / 0.7224 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.5685, allocations: 2.352 MB / 0.7247 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5686, allocations: 7.938 kB / 0.7247 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.5691, allocations: 404.5 kB / 0.7251 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.5693, allocations: 168.1 kB / 0.7252 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.5694, allocations: 4 kB / 0.7253 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.5697, allocations: 15.97 kB / 0.7253 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.5697, allocations: 19.92 kB / 0.7253 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.5698, allocations: 12 kB / 0.7253 GB, free: 2.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005495/0.5703, allocations: 483 kB / 0.7258 GB, free: 1.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5703, allocations: 0 / 0.7258 GB, free: 1.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009696/0.5713, allocations: 351.2 kB / 0.7261 GB, free: 1.293 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.0005252/0.5718, allocations: 259.8 kB / 0.7263 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.5734, allocations: 499.2 kB / 0.7268 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5734, allocations: 0 / 0.7268 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.5738, allocations: 136.2 kB / 0.7269 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.5753, allocations: 315.6 kB / 0.7272 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5776, allocations: 1.108 MB / 0.7283 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.5782, allocations: 0.9374 MB / 0.7292 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.5786, allocations: 116.2 kB / 0.7294 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.5787, allocations: 43.44 kB / 0.7294 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.5787, allocations: 3.938 kB / 0.7294 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.02353/0.6023, allocations: 12.64 MB / 0.7417 GB, free: 1.465 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)