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.00127/0.00127, allocations: 111.7 kB / 17.08 MB, free: 6.012 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.00129/0.00129, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.402/1.402, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.154/1.154, allocations: 173.4 MB / 471.3 MB, free: 6.617 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.001965/0.001966, allocations: 69.92 kB / 0.649 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 89.53 MB / 0.7364 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01773/0.1978, allocations: 15.5 MB / 0.7515 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.2048, allocations: 4.304 MB / 0.7558 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.2055, allocations: 15.94 kB / 0.7558 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.2064, allocations: 254.3 kB / 0.756 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.2082, allocations: 0.5945 MB / 0.7566 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.2102, allocations: 0.714 MB / 0.7573 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.2117, allocations: 1.017 MB / 0.7583 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.2123, allocations: 331.8 kB / 0.7586 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.2132, allocations: 462.1 kB / 0.759 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.2136, allocations: 310.6 kB / 0.7593 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.2137, allocations: 28 kB / 0.7594 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.215, allocations: 0.6239 MB / 0.76 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2151, allocations: 107.6 kB / 0.7601 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.2154, allocations: 218.8 kB / 0.7603 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2167, allocations: 0.7627 MB / 0.761 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2167, allocations: 0 / 0.761 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2167, allocations: 0 / 0.761 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.2167, allocations: 0 / 0.761 GB, free: 10.34 MB / 0.5762 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.00132/0.218, allocations: 0.8438 MB / 0.7618 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2181, allocations: 12.02 kB / 0.7619 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2182, allocations: 56.61 kB / 0.7619 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.2189, allocations: 429.1 kB / 0.7623 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.219, allocations: 20.44 kB / 0.7623 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.219, allocations: 31.88 kB / 0.7624 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.2195, allocations: 207.2 kB / 0.7626 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2195, allocations: 3.984 kB / 0.7626 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.2195, allocations: 11.94 kB / 0.7626 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2195, allocations: 12 kB / 0.7626 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.2199, allocations: 161.6 kB / 0.7628 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.2216, allocations: 0.9421 MB / 0.7637 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.2219, allocations: 134.5 kB / 0.7638 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2221, allocations: 73.94 kB / 0.7639 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.2225, allocations: 336.4 kB / 0.7642 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2225, allocations: 38.56 kB / 0.7642 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.2225, allocations: 0 / 0.7642 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006656/0.2232, allocations: 235.7 kB / 0.7645 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2233, allocations: 63.33 kB / 0.7645 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.2238, allocations: 457.9 kB / 0.765 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2238, allocations: 29.7 kB / 0.765 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.224, allocations: 232.8 kB / 0.7652 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.2241, allocations: 51.53 kB / 0.7653 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2242, allocations: 57.69 kB / 0.7653 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2244, allocations: 358.7 kB / 0.7656 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2246, allocations: 72.81 kB / 0.7657 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2249, allocations: 151.5 kB / 0.7659 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2253, allocations: 164.8 kB / 0.766 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2253, allocations: 0 / 0.766 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005637/0.2258, allocations: 261.2 kB / 0.7663 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2259, allocations: 4 kB / 0.7663 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2259, allocations: 0 / 0.7663 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2259, allocations: 4 kB / 0.7663 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.2261, allocations: 47.91 kB / 0.7663 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2262, allocations: 0 / 0.7663 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.2265, allocations: 43.75 kB / 0.7664 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.2265, allocations: 8 kB / 0.7664 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002975/0.2268, allocations: 192.1 kB / 0.7666 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002606/0.2271, allocations: 160.8 kB / 0.7667 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003456/0.2274, allocations: 168.2 kB / 0.7669 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2275, allocations: 3.938 kB / 0.7669 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005134/0.228, allocations: 253.2 kB / 0.7671 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.228, allocations: 8 kB / 0.7671 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.228, allocations: 0 / 0.7671 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.228, allocations: 4.188 kB / 0.7671 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.2282, allocations: 43.91 kB / 0.7672 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.2282, allocations: 7.938 kB / 0.7672 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.2286, allocations: 43.92 kB / 0.7672 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2286, allocations: 15.98 kB / 0.7672 GB, free: 3.566 MB / 0.5762 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.0001294/0.2287, allocations: 192.1 kB / 0.7674 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.2288, allocations: 43.72 kB / 0.7675 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.2294, allocations: 246.3 kB / 0.7677 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2294, allocations: 8 kB / 0.7677 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2294, allocations: 0 / 0.7677 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2294, allocations: 3.938 kB / 0.7677 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2305, allocations: 0.6999 MB / 0.7684 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2305, allocations: 0 / 0.7684 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2306, allocations: 32.11 kB / 0.7684 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2306, allocations: 3.938 kB / 0.7684 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2306, allocations: 8 kB / 0.7684 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2307, allocations: 0 / 0.7684 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2307, allocations: 4 kB / 0.7684 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.2312, allocations: 348.3 kB / 0.7688 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2313, allocations: 136.8 kB / 0.7689 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.2314, allocations: 4 kB / 0.7689 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.2316, allocations: 23.91 kB / 0.7689 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.2316, allocations: 7.984 kB / 0.7689 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2317, allocations: 16 kB / 0.7689 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003673/0.232, allocations: 319.1 kB / 0.7692 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.232, allocations: 0 / 0.7692 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006638/0.2327, allocations: 207.5 kB / 0.7694 GB, free: 1.172 MB / 0.5762 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.001596/0.2343, allocations: 485.9 kB / 0.7699 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007124/0.235, allocations: 271.6 kB / 0.7702 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2351, allocations: 4 kB / 0.7702 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2353, allocations: 91.95 kB / 0.7703 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2363, allocations: 200.7 kB / 0.7705 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2376, allocations: 0.7183 MB / 0.7712 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.2381, allocations: 0.8231 MB / 0.772 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.2382, allocations: 35.42 kB / 0.772 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.2382, allocations: 4 kB / 0.772 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.01179/0.25, allocations: 7.295 MB / 0.7791 GB, free: 7.402 MB / 0.5919 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.694499231874943] Failed to read output from testmodel.py, exit status != 0: 0.25657030497677624 0.27026691099999994 0.05090784399999994 Calling exit ...