Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.01199/0.01199, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 9.344 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2153, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01895/0.2343, allocations: 16.84 MB / 0.6044 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4127/0.647, allocations: 4.866 MB / 0.6092 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008547/0.6479, allocations: 10.81 kB / 0.6092 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6489, allocations: 207.7 kB / 0.6094 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.6509, allocations: 0.5597 MB / 0.6099 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.653, allocations: 0.6575 MB / 0.6106 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.6548, allocations: 1.267 MB / 0.6118 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.6553, allocations: 277.9 kB / 0.6121 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.6561, allocations: 378.4 kB / 0.6124 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.6565, allocations: 309.3 kB / 0.6127 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.6565, allocations: 17.75 kB / 0.6127 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.6579, allocations: 0.6956 MB / 0.6134 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.6581, allocations: 117.1 kB / 0.6135 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.6583, allocations: 247.4 kB / 0.6138 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.6594, allocations: 0.8481 MB / 0.6146 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6594, allocations: 0 / 0.6146 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6594, allocations: 0 / 0.6146 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.6595, allocations: 7.938 kB / 0.6146 GB, free: 33.68 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001104/0.6606, allocations: 0.7958 MB / 0.6154 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6606, allocations: 11.66 kB / 0.6154 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.6608, allocations: 58.53 kB / 0.6154 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.6613, allocations: 443.3 kB / 0.6159 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.6613, allocations: 24.88 kB / 0.6159 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.6614, allocations: 28.72 kB / 0.6159 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.6619, allocations: 290.8 kB / 0.6162 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6619, allocations: 0 / 0.6162 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.6619, allocations: 14.62 kB / 0.6162 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6619, allocations: 6.781 kB / 0.6162 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.6623, allocations: 197.2 kB / 0.6164 GB, free: 32.71 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.001586/0.6639, allocations: 1.493 MB / 0.6179 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.6642, allocations: 173.2 kB / 0.618 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.6644, allocations: 87.5 kB / 0.6181 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.6657, allocations: 1.29 MB / 0.6194 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.6658, allocations: 34.5 kB / 0.6194 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.6658, allocations: 0 / 0.6194 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006079/0.6664, allocations: 272.9 kB / 0.6197 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.6664, allocations: 51.41 kB / 0.6197 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.6671, allocations: 0.5852 MB / 0.6203 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.6671, allocations: 28.52 kB / 0.6203 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.6673, allocations: 270.6 kB / 0.6206 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.6674, allocations: 55.42 kB / 0.6206 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.6674, allocations: 35.47 kB / 0.6207 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.6675, allocations: 358.6 kB / 0.621 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.6677, allocations: 80.36 kB / 0.6211 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.6679, allocations: 214.4 kB / 0.6213 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.6683, allocations: 246.3 kB / 0.6215 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6683, allocations: 0 / 0.6215 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005103/0.6688, allocations: 329.3 kB / 0.6218 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.6689, allocations: 155.9 kB / 0.622 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6689, allocations: 2.812 kB / 0.622 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6689, allocations: 13.7 kB / 0.622 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.6692, allocations: 69.81 kB / 0.6221 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6692, allocations: 6.703 kB / 0.6221 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.6695, allocations: 54.28 kB / 0.6221 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.6696, allocations: 12.56 kB / 0.6221 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.6696, allocations: 5.688 kB / 0.6221 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004261/0.67, allocations: 246 kB / 0.6224 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.67, allocations: 2.812 kB / 0.6224 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.67, allocations: 6.969 kB / 0.6224 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.6702, allocations: 69.08 kB / 0.6224 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6702, allocations: 6.062 kB / 0.6225 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.6705, allocations: 42.56 kB / 0.6225 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.6706, allocations: 15.88 kB / 0.6225 GB, free: 29.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.6707, allocations: 260.4 kB / 0.6228 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.6708, allocations: 51.56 kB / 0.6228 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6713, allocations: 275 kB / 0.6231 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6714, allocations: 2.812 kB / 0.6231 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6714, allocations: 0 / 0.6231 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6714, allocations: 0 / 0.6231 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.6723, allocations: 0.7469 MB / 0.6238 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6723, allocations: 3.938 kB / 0.6238 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.6724, allocations: 42.47 kB / 0.6238 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6724, allocations: 0 / 0.6238 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6725, allocations: 3.125 kB / 0.6238 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6725, allocations: 3.156 kB / 0.6239 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6725, allocations: 3.234 kB / 0.6239 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.6729, allocations: 366.3 kB / 0.6242 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.673, allocations: 151.6 kB / 0.6243 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.6731, allocations: 9.141 kB / 0.6244 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.6733, allocations: 15.03 kB / 0.6244 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.6733, allocations: 16.56 kB / 0.6244 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.6734, allocations: 7.922 kB / 0.6244 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003798/0.6737, allocations: 423.4 kB / 0.6248 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6737, allocations: 0 / 0.6248 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007945/0.6745, allocations: 234.7 kB / 0.625 GB, free: 28.15 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.6758, allocations: 497 kB / 0.6255 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.6765, allocations: 334.8 kB / 0.6258 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6765, allocations: 0.8125 kB / 0.6258 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.6767, allocations: 103.5 kB / 0.6259 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.6781, allocations: 245.8 kB / 0.6261 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6794, allocations: 0.9974 MB / 0.6271 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.6797, allocations: 0.8489 MB / 0.628 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.68, allocations: 102.9 kB / 0.6281 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.6801, allocations: 36.69 kB / 0.6281 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6801, allocations: 0 / 0.6281 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.01864/0.6988, allocations: 9.836 MB / 0.6377 GB, free: 25.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)