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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.095/1.095, allocations: 175.7 MB / 480.2 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.42 kB / 0.6684 GB, free: 10.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2202, allocations: 94.53 MB / 0.7607 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0219/0.2421, allocations: 17.76 MB / 0.778 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008722/0.2509, allocations: 4.94 MB / 0.7829 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.2518, allocations: 19.88 kB / 0.7829 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2529, allocations: 254.4 kB / 0.7831 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.2547, allocations: 0.6297 MB / 0.7837 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.2569, allocations: 0.7407 MB / 0.7845 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2584, allocations: 0.9624 MB / 0.7854 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.2589, allocations: 281 kB / 0.7857 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009407/0.2598, allocations: 474.2 kB / 0.7861 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.2603, allocations: 314.6 kB / 0.7864 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.2604, allocations: 32 kB / 0.7865 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.2618, allocations: 0.7408 MB / 0.7872 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.262, allocations: 131.5 kB / 0.7873 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.2623, allocations: 242.6 kB / 0.7875 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.2636, allocations: 0.8756 MB / 0.7884 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2636, allocations: 0 / 0.7884 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2636, allocations: 0 / 0.7884 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2636, allocations: 4 kB / 0.7884 GB, free: 3.828 MB / 0.5919 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.001375/0.265, allocations: 0.8904 MB / 0.7893 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2651, allocations: 8.031 kB / 0.7893 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.2653, allocations: 64.56 kB / 0.7893 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.266, allocations: 473.3 kB / 0.7898 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.266, allocations: 20.56 kB / 0.7898 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.2661, allocations: 32 kB / 0.7898 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.2666, allocations: 286.2 kB / 0.7901 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2666, allocations: 3.938 kB / 0.7901 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.2667, allocations: 12 kB / 0.7901 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2667, allocations: 4 kB / 0.7901 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.2671, allocations: 190.1 kB / 0.7903 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.2693, allocations: 1.476 MB / 0.7918 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.2696, allocations: 154.7 kB / 0.7919 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2698, allocations: 82.45 kB / 0.792 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.2717, allocations: 1.276 MB / 0.7932 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.2717, allocations: 34.56 kB / 0.7933 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2717, allocations: 4 kB / 0.7933 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006875/0.2724, allocations: 253.2 kB / 0.7935 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2724, allocations: 51.41 kB / 0.7936 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.2732, allocations: 0.5769 MB / 0.7941 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2732, allocations: 37.64 kB / 0.7942 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.2735, allocations: 272.4 kB / 0.7944 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.2735, allocations: 59.53 kB / 0.7945 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2736, allocations: 69.92 kB / 0.7945 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2738, allocations: 358.8 kB / 0.7949 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.274, allocations: 77.94 kB / 0.795 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.2744, allocations: 215.3 kB / 0.7952 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.2748, allocations: 230.7 kB / 0.7954 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2748, allocations: 4 kB / 0.7954 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00063/0.2754, allocations: 318.5 kB / 0.7957 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2755, allocations: 8 kB / 0.7957 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2755, allocations: 0 / 0.7957 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2755, allocations: 4 kB / 0.7957 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2758, allocations: 68.14 kB / 0.7958 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.2758, allocations: 7.984 kB / 0.7958 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2761, allocations: 39.77 kB / 0.7958 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.2761, allocations: 19.98 kB / 0.7958 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003287/0.2765, allocations: 212.6 kB / 0.796 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000306/0.2768, allocations: 214.4 kB / 0.7962 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004004/0.2772, allocations: 227.7 kB / 0.7964 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.2772, allocations: 8 kB / 0.7965 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005757/0.2777, allocations: 309.1 kB / 0.7968 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2778, allocations: 8 kB / 0.7968 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2778, allocations: 7.922 kB / 0.7968 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.2778, allocations: 4 kB / 0.7968 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.278, allocations: 68.16 kB / 0.7968 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.278, allocations: 4 kB / 0.7968 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.2783, allocations: 35.86 kB / 0.7969 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2783, allocations: 16 kB / 0.7969 GB, free: 10.46 MB / 0.6075 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.0001502/0.2785, allocations: 204.1 kB / 0.7971 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.2786, allocations: 51.61 kB / 0.7971 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.2792, allocations: 263.9 kB / 0.7974 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2792, allocations: 0 / 0.7974 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2792, allocations: 4 kB / 0.7974 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2792, allocations: 3.984 kB / 0.7974 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2803, allocations: 0.7374 MB / 0.7981 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2803, allocations: 0 / 0.7981 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2804, allocations: 35.92 kB / 0.7981 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.2804, allocations: 4 kB / 0.7982 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2805, allocations: 0 / 0.7982 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2805, allocations: 4 kB / 0.7982 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2805, allocations: 0 / 0.7982 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.281, allocations: 358.6 kB / 0.7985 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.2811, allocations: 148.7 kB / 0.7986 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.2812, allocations: 8 kB / 0.7986 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2814, allocations: 11.98 kB / 0.7987 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.2814, allocations: 19.92 kB / 0.7987 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2815, allocations: 7.984 kB / 0.7987 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005018/0.282, allocations: 414.8 kB / 0.7991 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.282, allocations: 0 / 0.7991 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008453/0.2828, allocations: 231.6 kB / 0.7993 GB, free: 7.863 MB / 0.6075 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.001748/0.2846, allocations: 0.4894 MB / 0.7998 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008301/0.2854, allocations: 305.5 kB / 0.8001 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2854, allocations: 3.938 kB / 0.8001 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2856, allocations: 81.02 kB / 0.8002 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.2869, allocations: 257.8 kB / 0.8004 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2884, allocations: 0.8218 MB / 0.8012 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.289, allocations: 0.8467 MB / 0.802 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000339/0.2893, allocations: 100.2 kB / 0.8021 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2894, allocations: 35.44 kB / 0.8022 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/0.2894, allocations: 0 / 0.8022 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.02053/0.31, allocations: 10.34 MB / 0.8123 GB, free: 10.8 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.597716748714447]