Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001241/0.001241, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001251/0.001251, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.395/1.395, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.033/1.033, allocations: 175.7 MB / 479.1 MB, free: 3.707 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 64.48 kB / 0.6663 GB, free: 10.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1733, allocations: 94.55 MB / 0.7587 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0194/0.1927, allocations: 15.61 MB / 0.7739 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.006894/0.1996, allocations: 4.319 MB / 0.7781 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.2001, allocations: 15.88 kB / 0.7782 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.201, allocations: 262.3 kB / 0.7784 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.2026, allocations: 0.632 MB / 0.779 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.2044, allocations: 0.7065 MB / 0.7797 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2059, allocations: 1.017 MB / 0.7807 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.2064, allocations: 287.8 kB / 0.781 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008991/0.2073, allocations: 478.2 kB / 0.7814 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.2078, allocations: 326.5 kB / 0.7817 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.2078, allocations: 28 kB / 0.7818 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2091, allocations: 0.6356 MB / 0.7824 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2093, allocations: 107.6 kB / 0.7825 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.2095, allocations: 218.7 kB / 0.7827 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2107, allocations: 0.7666 MB / 0.7835 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2107, allocations: 0 / 0.7835 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2107, allocations: 0 / 0.7835 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2107, allocations: 0 / 0.7835 GB, free: 7.668 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001276/0.212, allocations: 0.836 MB / 0.7843 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.212, allocations: 8.031 kB / 0.7843 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2121, allocations: 56.61 kB / 0.7843 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.2128, allocations: 437.1 kB / 0.7847 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2128, allocations: 16.44 kB / 0.7848 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.2129, allocations: 28 kB / 0.7848 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.2133, allocations: 215.2 kB / 0.785 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2133, allocations: 0 / 0.785 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2134, allocations: 8 kB / 0.785 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2134, allocations: 8 kB / 0.785 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.2138, allocations: 169.6 kB / 0.7852 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.2154, allocations: 0.9304 MB / 0.7861 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2157, allocations: 134.5 kB / 0.7862 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2159, allocations: 64.81 kB / 0.7863 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.2162, allocations: 340.3 kB / 0.7866 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2162, allocations: 34.56 kB / 0.7866 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.2162, allocations: 0 / 0.7866 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0006542/0.2169, allocations: 244.4 kB / 0.7869 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2169, allocations: 51.41 kB / 0.7869 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.2175, allocations: 461.9 kB / 0.7873 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.2175, allocations: 33.7 kB / 0.7874 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2177, allocations: 228.7 kB / 0.7876 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.2177, allocations: 51.53 kB / 0.7876 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2178, allocations: 57.69 kB / 0.7877 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.218, allocations: 354.7 kB / 0.788 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.2182, allocations: 76.81 kB / 0.7881 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2185, allocations: 151.5 kB / 0.7883 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.2189, allocations: 168.3 kB / 0.7884 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2189, allocations: 0 / 0.7884 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005427/0.2194, allocations: 257.2 kB / 0.7887 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2194, allocations: 4 kB / 0.7887 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2194, allocations: 96 / 0.7887 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2195, allocations: 7.938 kB / 0.7887 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.2197, allocations: 55.91 kB / 0.7887 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2197, allocations: 0 / 0.7887 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.22, allocations: 39.77 kB / 0.7888 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.22, allocations: 11.98 kB / 0.7888 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002961/0.2203, allocations: 188.1 kB / 0.789 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002789/0.2206, allocations: 161.4 kB / 0.7891 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003519/0.221, allocations: 160.2 kB / 0.7893 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.221, allocations: 4 kB / 0.7893 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005363/0.2215, allocations: 257.2 kB / 0.7895 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.2215, allocations: 5.875 kB / 0.7895 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.2215, allocations: 0 / 0.7895 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.2215, allocations: 4 kB / 0.7895 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2217, allocations: 47.91 kB / 0.7896 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.2217, allocations: 3.938 kB / 0.7896 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.2221, allocations: 39.92 kB / 0.7896 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.2221, allocations: 12 kB / 0.7896 GB, free: 0.9258 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001283/0.2222, allocations: 196.1 kB / 0.7898 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.2223, allocations: 43.72 kB / 0.7899 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.2229, allocations: 245.2 kB / 0.7901 GB, free: 448 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2229, allocations: 7.984 kB / 0.7901 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2229, allocations: 0 / 0.7901 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2229, allocations: 3.938 kB / 0.7901 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.224, allocations: 0.6891 MB / 0.7908 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.224, allocations: 7.969 kB / 0.7908 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.2241, allocations: 35.92 kB / 0.7908 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.2241, allocations: 3.938 kB / 0.7908 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2241, allocations: 4 kB / 0.7908 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2241, allocations: 0 / 0.7908 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2241, allocations: 4 kB / 0.7908 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.2246, allocations: 349.1 kB / 0.7912 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2248, allocations: 136.8 kB / 0.7913 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.2248, allocations: 8 kB / 0.7913 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.225, allocations: 11.98 kB / 0.7913 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.2251, allocations: 19.97 kB / 0.7913 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2251, allocations: 8 kB / 0.7913 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003694/0.2255, allocations: 319.1 kB / 0.7916 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2255, allocations: 0 / 0.7916 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006667/0.2261, allocations: 211.5 kB / 0.7918 GB, free: 14.53 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 (16): * Single equations (assignments): 14 * 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.001533/0.2277, allocations: 480.7 kB / 0.7923 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007012/0.2284, allocations: 262.1 kB / 0.7925 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2284, allocations: 4 kB / 0.7925 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2286, allocations: 79.89 kB / 0.7926 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2296, allocations: 212.7 kB / 0.7928 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2309, allocations: 0.7333 MB / 0.7935 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.2313, allocations: 0.8192 MB / 0.7943 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.2314, allocations: 39.42 kB / 0.7944 GB, free: 12 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2314, allocations: 0 / 0.7944 GB, free: 12 MB / 0.6075 GB Notification: Performance of Templates: time 0.01162/0.243, allocations: 7.334 MB / 0.8015 GB, free: 4.73 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.43668273393996] Failed to read output from testmodel.py, exit status != 0: 0.2506171620916575 0.26449612999999994 0.050853101000000005 Calling exit ...