Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009384/0.0009384, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001198/0.001198, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7304/0.7304, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.34, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01553/0.3556, allocations: 16.02 MB / 0.5987 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00614/0.3617, allocations: 4.599 MB / 0.6032 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.3621, allocations: 15.38 kB / 0.6032 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.3628, allocations: 186.1 kB / 0.6034 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009968/0.3638, allocations: 0.499 MB / 0.6039 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3652, allocations: 0.6073 MB / 0.6045 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3663, allocations: 1.086 MB / 0.6055 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.3666, allocations: 263.5 kB / 0.6058 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.3672, allocations: 353.3 kB / 0.6061 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.3675, allocations: 293.6 kB / 0.6064 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.3676, allocations: 15.38 kB / 0.6064 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009572/0.3686, allocations: 0.6001 MB / 0.607 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3687, allocations: 115.1 kB / 0.6071 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3688, allocations: 113.1 kB / 0.6072 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.3695, allocations: 0.5898 MB / 0.6078 GB, free: 2.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3695, allocations: 0 / 0.6078 GB, free: 2.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3695, allocations: 0 / 0.6078 GB, free: 2.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3695, allocations: 0 / 0.6078 GB, free: 2.402 MB / 446.1 MB 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.00105/0.3705, allocations: 0.7983 MB / 0.6086 GB, free: 1.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.3706, allocations: 9.938 kB / 0.6086 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.3707, allocations: 60.3 kB / 0.6087 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3713, allocations: 422.5 kB / 0.6091 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3713, allocations: 21.69 kB / 0.6091 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.3714, allocations: 30.47 kB / 0.6091 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.3719, allocations: 299.6 kB / 0.6094 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3719, allocations: 3.938 kB / 0.6094 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3719, allocations: 11.03 kB / 0.6094 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3719, allocations: 5.906 kB / 0.6094 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.3723, allocations: 206.2 kB / 0.6096 GB, free: 0.9922 MB / 446.1 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.0017/0.3741, allocations: 1.469 MB / 0.611 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.3744, allocations: 169.8 kB / 0.6112 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3746, allocations: 91.11 kB / 0.6113 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.376, allocations: 1.29 MB / 0.6126 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.376, allocations: 36.03 kB / 0.6126 GB, free: 14.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.376, allocations: 0 / 0.6126 GB, free: 14.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.00059/0.3766, allocations: 259.3 kB / 0.6128 GB, free: 14.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3767, allocations: 61.88 kB / 0.6129 GB, free: 13.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.3773, allocations: 0.5798 MB / 0.6135 GB, free: 13.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3773, allocations: 32.64 kB / 0.6135 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3775, allocations: 268.8 kB / 0.6138 GB, free: 13.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3776, allocations: 54.2 kB / 0.6138 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.3776, allocations: 5.312 kB / 0.6138 GB, free: 13.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3777, allocations: 363.2 kB / 0.6142 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3779, allocations: 79.67 kB / 0.6142 GB, free: 12.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3782, allocations: 207.5 kB / 0.6144 GB, free: 12.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.3784, allocations: 104.7 kB / 0.6145 GB, free: 12.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3784, allocations: 0 / 0.6145 GB, free: 12.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005546/0.379, allocations: 318.7 kB / 0.6148 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.3791, allocations: 161.7 kB / 0.615 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3791, allocations: 2.375 kB / 0.615 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3791, allocations: 4.344 kB / 0.615 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3794, allocations: 69.78 kB / 0.6151 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3794, allocations: 12.11 kB / 0.6151 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3797, allocations: 48.5 kB / 0.6151 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.3797, allocations: 15.34 kB / 0.6151 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/0.3798, allocations: 3.969 kB / 0.6151 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004732/0.3802, allocations: 250.1 kB / 0.6154 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3803, allocations: 2.156 kB / 0.6154 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.3803, allocations: 4.469 kB / 0.6154 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3805, allocations: 69.84 kB / 0.6154 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3805, allocations: 3.75 kB / 0.6154 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3808, allocations: 47 kB / 0.6155 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3808, allocations: 15.56 kB / 0.6155 GB, free: 12.12 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.381, allocations: 260.7 kB / 0.6158 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.3811, allocations: 50.08 kB / 0.6158 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.3817, allocations: 269.9 kB / 0.6161 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3817, allocations: 6.094 kB / 0.6161 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3817, allocations: 5.109 kB / 0.6161 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3817, allocations: 0 / 0.6161 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.3827, allocations: 0.7464 MB / 0.6168 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3827, allocations: 1.469 kB / 0.6168 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3828, allocations: 33.61 kB / 0.6168 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3829, allocations: 2.344 kB / 0.6168 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3829, allocations: 6.078 kB / 0.6168 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3829, allocations: 6.281 kB / 0.6168 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3829, allocations: 9.125 kB / 0.6169 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.3834, allocations: 367.5 kB / 0.6172 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3835, allocations: 148.8 kB / 0.6174 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3836, allocations: 7.031 kB / 0.6174 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3838, allocations: 18.44 kB / 0.6174 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3839, allocations: 23.61 kB / 0.6174 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3839, allocations: 5.312 kB / 0.6174 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.3843, allocations: 415 kB / 0.6178 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3843, allocations: 1.125 kB / 0.6178 GB, free: 10.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000709/0.3851, allocations: 233.7 kB / 0.618 GB, free: 10.34 MB / 462.1 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009999/0.3861, allocations: 486.5 kB / 0.6185 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.3867, allocations: 331.1 kB / 0.6188 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3868, allocations: 0.8125 kB / 0.6188 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3869, allocations: 95.08 kB / 0.6189 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3882, allocations: 250.7 kB / 0.6191 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3894, allocations: 0.9671 MB / 0.6201 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3898, allocations: 0.8512 MB / 0.6209 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.3901, allocations: 106.5 kB / 0.621 GB, free: 8.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.3902, allocations: 35.62 kB / 0.621 GB, free: 8.324 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3902, allocations: 0 / 0.621 GB, free: 8.324 MB / 462.1 MB Notification: Performance of Templates: time 0.01497/0.4052, allocations: 9.573 MB / 0.6304 GB, free: 15.66 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)