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.005417/0.005417, allocations: 102 kB / 15.73 MB, free: 6.438 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.001136/0.001136, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7888/0.7888, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.19 kB / 0.5814 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2054, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02317/0.2286, allocations: 17.45 MB / 0.6767 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007962/0.2366, allocations: 4.913 MB / 0.6815 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008677/0.2375, allocations: 15.94 kB / 0.6815 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.2387, allocations: 258.4 kB / 0.6818 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.2409, allocations: 0.6375 MB / 0.6824 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2433, allocations: 0.733 MB / 0.6831 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.2449, allocations: 0.9702 MB / 0.6841 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.2456, allocations: 340.9 kB / 0.6844 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.2466, allocations: 430.2 kB / 0.6848 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.2472, allocations: 306.7 kB / 0.6851 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.2473, allocations: 32 kB / 0.6851 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2487, allocations: 0.7331 MB / 0.6859 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2489, allocations: 135.5 kB / 0.686 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.2492, allocations: 238.7 kB / 0.6862 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.2509, allocations: 0.8918 MB / 0.6871 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2509, allocations: 0 / 0.6871 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2509, allocations: 0 / 0.6871 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.2509, allocations: 0 / 0.6871 GB, free: 1.363 MB / 0.5137 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.001685/0.2526, allocations: 0.8758 MB / 0.6879 GB, free: 448 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2527, allocations: 12.03 kB / 0.6879 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.253, allocations: 60.27 kB / 0.688 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.2539, allocations: 468.9 kB / 0.6884 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2539, allocations: 24.56 kB / 0.6885 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.254, allocations: 28 kB / 0.6885 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.2546, allocations: 282.2 kB / 0.6888 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2546, allocations: 0 / 0.6888 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2546, allocations: 12 kB / 0.6888 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2547, allocations: 8 kB / 0.6888 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.2551, allocations: 190.1 kB / 0.689 GB, free: 15.32 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.00196/0.2571, allocations: 1.472 MB / 0.6904 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.2574, allocations: 170.7 kB / 0.6906 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2576, allocations: 84.81 kB / 0.6907 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.2592, allocations: 1.264 MB / 0.6919 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2593, allocations: 42.5 kB / 0.6919 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.2593, allocations: 0 / 0.6919 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007016/0.26, allocations: 249 kB / 0.6922 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.2601, allocations: 59.41 kB / 0.6922 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.2607, allocations: 0.5808 MB / 0.6928 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2608, allocations: 29.7 kB / 0.6928 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.261, allocations: 272.1 kB / 0.6931 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.261, allocations: 55.19 kB / 0.6931 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2612, allocations: 69.98 kB / 0.6932 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2613, allocations: 358.8 kB / 0.6935 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2615, allocations: 81.94 kB / 0.6936 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.2618, allocations: 214 kB / 0.6938 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.2622, allocations: 235.4 kB / 0.694 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2622, allocations: 4 kB / 0.694 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005893/0.2628, allocations: 316.7 kB / 0.6943 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2628, allocations: 4 kB / 0.6944 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2628, allocations: 4.094 kB / 0.6944 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2629, allocations: 7.938 kB / 0.6944 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2631, allocations: 63.91 kB / 0.6944 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2631, allocations: 7.938 kB / 0.6944 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.2635, allocations: 43.66 kB / 0.6945 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2635, allocations: 20.12 kB / 0.6945 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002995/0.2638, allocations: 217.3 kB / 0.6947 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000271/0.2641, allocations: 215.2 kB / 0.6949 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003757/0.2645, allocations: 223.6 kB / 0.6951 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.053e-05/0.2645, allocations: 0 / 0.6951 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005743/0.2651, allocations: 322.6 kB / 0.6954 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2651, allocations: 6.5 kB / 0.6954 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.2651, allocations: 4 kB / 0.6954 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.2651, allocations: 4 kB / 0.6954 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2653, allocations: 67.84 kB / 0.6955 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2654, allocations: 7.984 kB / 0.6955 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2657, allocations: 31.83 kB / 0.6955 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2657, allocations: 20.12 kB / 0.6956 GB, free: 8.02 MB / 0.5294 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.0001541/0.2659, allocations: 200.1 kB / 0.6958 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.266, allocations: 51.34 kB / 0.6958 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.2666, allocations: 253.8 kB / 0.696 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2666, allocations: 3.938 kB / 0.696 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2666, allocations: 0 / 0.696 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2666, allocations: 4 kB / 0.6961 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.2676, allocations: 0.7349 MB / 0.6968 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2676, allocations: 3.938 kB / 0.6968 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2677, allocations: 32.11 kB / 0.6968 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2678, allocations: 8 kB / 0.6968 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2678, allocations: 3.984 kB / 0.6968 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.2678, allocations: 4 kB / 0.6968 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2678, allocations: 3.938 kB / 0.6968 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.2683, allocations: 349 kB / 0.6972 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2684, allocations: 152.3 kB / 0.6973 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.2685, allocations: 8 kB / 0.6973 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.2687, allocations: 7.984 kB / 0.6973 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.2688, allocations: 23.86 kB / 0.6973 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2688, allocations: 4 kB / 0.6973 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004507/0.2692, allocations: 426.8 kB / 0.6977 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2692, allocations: 0 / 0.6977 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007337/0.27, allocations: 227.7 kB / 0.698 GB, free: 5.434 MB / 0.5294 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.001133/0.2711, allocations: 0.4883 MB / 0.6984 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.2718, allocations: 316.3 kB / 0.6987 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2719, allocations: 0 / 0.6987 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.2721, allocations: 91.5 kB / 0.6988 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2733, allocations: 250.4 kB / 0.6991 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2746, allocations: 0.8073 MB / 0.6999 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.275, allocations: 0.8506 MB / 0.7007 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.2754, allocations: 104.3 kB / 0.7008 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.2755, allocations: 35.44 kB / 0.7008 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2755, allocations: 0 / 0.7008 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of Templates: time 0.01754/0.293, allocations: 10.23 MB / 0.7108 GB, free: 8.543 MB / 0.545 GB 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)