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.00132/0.00132, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001338/0.001338, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.416/1.416, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.048/1.048, allocations: 175.7 MB / 479.1 MB, free: 3.664 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.001884/0.001884, allocations: 68.47 kB / 0.6664 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1685, allocations: 94.53 MB / 0.7587 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0203/0.1888, allocations: 17.58 MB / 0.7758 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007428/0.1963, allocations: 4.919 MB / 0.7806 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.1968, allocations: 19.88 kB / 0.7807 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008623/0.1977, allocations: 254.4 kB / 0.7809 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.1992, allocations: 0.6297 MB / 0.7815 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.2014, allocations: 0.7311 MB / 0.7822 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.203, allocations: 0.9655 MB / 0.7832 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.2035, allocations: 285 kB / 0.7835 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009122/0.2044, allocations: 474.1 kB / 0.7839 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.2049, allocations: 322.6 kB / 0.7842 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.205, allocations: 32 kB / 0.7842 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.2064, allocations: 0.733 MB / 0.785 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.2066, allocations: 135.5 kB / 0.7851 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.2069, allocations: 246.7 kB / 0.7853 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2083, allocations: 0.8834 MB / 0.7862 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2083, allocations: 0 / 0.7862 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2083, allocations: 3.938 kB / 0.7862 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2083, allocations: 3.938 kB / 0.7862 GB, free: 4.914 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.001427/0.2097, allocations: 0.8788 MB / 0.7871 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2098, allocations: 8.031 kB / 0.7871 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2099, allocations: 64.56 kB / 0.7871 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.2107, allocations: 477.3 kB / 0.7876 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.2107, allocations: 20.56 kB / 0.7876 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.2108, allocations: 32 kB / 0.7876 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.2113, allocations: 282.2 kB / 0.7879 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2113, allocations: 0 / 0.7879 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2114, allocations: 12 kB / 0.7879 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2114, allocations: 4 kB / 0.7879 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.2118, allocations: 194.1 kB / 0.7881 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.2139, allocations: 1.469 MB / 0.7895 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.2142, allocations: 158.8 kB / 0.7897 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2144, allocations: 72.81 kB / 0.7898 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.2161, allocations: 1.276 MB / 0.791 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2162, allocations: 42.5 kB / 0.791 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2162, allocations: 0 / 0.791 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006834/0.2168, allocations: 251 kB / 0.7913 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2169, allocations: 55.41 kB / 0.7913 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.2176, allocations: 0.5808 MB / 0.7919 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.2176, allocations: 33.7 kB / 0.7919 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.2179, allocations: 268.5 kB / 0.7922 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.2179, allocations: 63.5 kB / 0.7922 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.218, allocations: 65.94 kB / 0.7923 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.2182, allocations: 358.8 kB / 0.7927 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2184, allocations: 77.94 kB / 0.7927 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.2187, allocations: 215.2 kB / 0.7929 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.2192, allocations: 239.5 kB / 0.7932 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2192, allocations: 0 / 0.7932 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00063/0.2198, allocations: 321.1 kB / 0.7935 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2198, allocations: 8.031 kB / 0.7935 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2198, allocations: 4 kB / 0.7935 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2199, allocations: 4 kB / 0.7935 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.2201, allocations: 59.91 kB / 0.7935 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2201, allocations: 4 kB / 0.7935 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2204, allocations: 51.75 kB / 0.7936 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.2205, allocations: 12 kB / 0.7936 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000336/0.2208, allocations: 212.6 kB / 0.7938 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003135/0.2211, allocations: 210.4 kB / 0.794 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004248/0.2216, allocations: 231.5 kB / 0.7942 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.2216, allocations: 3.984 kB / 0.7942 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006212/0.2222, allocations: 325.1 kB / 0.7945 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2222, allocations: 12.03 kB / 0.7946 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.2222, allocations: 0 / 0.7946 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.2222, allocations: 4 kB / 0.7946 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2224, allocations: 63.84 kB / 0.7946 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2224, allocations: 11.92 kB / 0.7946 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.2228, allocations: 31.88 kB / 0.7947 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2228, allocations: 16 kB / 0.7947 GB, free: 11.55 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.000152/0.2229, allocations: 208.1 kB / 0.7949 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.223, allocations: 51.67 kB / 0.7949 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.2236, allocations: 255.5 kB / 0.7952 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2236, allocations: 0 / 0.7952 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2236, allocations: 0 / 0.7952 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2236, allocations: 0 / 0.7952 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2248, allocations: 0.7395 MB / 0.7959 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2248, allocations: 0 / 0.7959 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2249, allocations: 35.92 kB / 0.7959 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2249, allocations: 0 / 0.7959 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2249, allocations: 4 kB / 0.7959 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.225, allocations: 12.11 kB / 0.7959 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.225, allocations: 0 / 0.7959 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.2255, allocations: 359.6 kB / 0.7963 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.2257, allocations: 148.7 kB / 0.7964 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.2257, allocations: 8 kB / 0.7964 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2259, allocations: 15.92 kB / 0.7964 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.226, allocations: 19.92 kB / 0.7965 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.226, allocations: 4 kB / 0.7965 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005063/0.2265, allocations: 418.8 kB / 0.7969 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2265, allocations: 0 / 0.7969 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007711/0.2273, allocations: 231.6 kB / 0.7971 GB, free: 8.957 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.001627/0.2289, allocations: 0.4908 MB / 0.7976 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007745/0.2297, allocations: 302.5 kB / 0.7979 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2297, allocations: 0 / 0.7979 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2299, allocations: 84.02 kB / 0.7979 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.2311, allocations: 251.4 kB / 0.7982 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2326, allocations: 0.843 MB / 0.799 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.2331, allocations: 0.8467 MB / 0.7998 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2332, allocations: 47.42 kB / 0.7999 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.2332, allocations: 4 kB / 0.7999 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.01373/0.2469, allocations: 8.55 MB / 0.8082 GB, free: 13.7 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: 9.796324503142387] Failed to read output from testmodel.py, exit status != 0: 0.2543082940392196 0.2677277 0.056575912000000006 Calling exit ...