Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 72.83 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 173 kB / 24.15 MB, free: 348 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.123/1.123, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6118/0.6118, allocations: 115 MB / 376 MB, free: 7.512 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.171e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.204/0.2041, allocations: 24.87 MB / 453.6 MB, free: 18.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.2216, allocations: 10.06 MB / 463.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.2256, allocations: 154.1 kB / 463.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2276, allocations: 0.7646 MB / 464.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.2338, allocations: 2.606 MB / 467.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.2397, allocations: 2.967 MB / 470.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.2468, allocations: 7.109 MB / 477.2 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.2494, allocations: 1.994 MB / 479.2 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.2549, allocations: 3.511 MB / 482.8 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.2572, allocations: 1.791 MB / 484.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005225/0.2578, allocations: 248.8 kB / 484.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2598, allocations: 0.9438 MB / 485.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006171/0.2604, allocations: 0.7321 MB / 486.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.2617, allocations: 0.9975 MB / 487.5 MB, free: 12.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.265, allocations: 2.571 MB / 490 MB, free: 9.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.265, allocations: 4 kB / 490 MB, free: 9.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2651, allocations: 0 / 490 MB, free: 9.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.549e-05/0.2651, allocations: 0 / 490 MB, free: 9.543 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.003901/0.269, allocations: 3.027 MB / 493.1 MB, free: 6.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2691, allocations: 8.031 kB / 493.1 MB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.2696, allocations: 368.2 kB / 493.4 MB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.2717, allocations: 1.507 MB / 494.9 MB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.2718, allocations: 130.9 kB / 495.1 MB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.272, allocations: 172 kB / 495.2 MB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2733, allocations: 1.357 MB / 496.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-05/0.2734, allocations: 7.984 kB / 496.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.2734, allocations: 61.88 kB / 496.7 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.2735, allocations: 51.92 kB / 496.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.274, allocations: 400.8 kB / 497.1 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.2788, allocations: 4.37 MB / 0.4897 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.2791, allocations: 244.9 kB / 0.4899 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2793, allocations: 122.8 kB / 0.4901 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.2794, allocations: 40.47 kB / 0.4901 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2795, allocations: 43 kB / 0.4901 GB, free: 13.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/0.2795, allocations: 0.5938 kB / 0.4901 GB, free: 13.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.0008945/0.2804, allocations: 394.4 kB / 0.4905 GB, free: 12.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2804, allocations: 59.91 kB / 0.4906 GB, free: 12.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.2816, allocations: 1.672 MB / 0.4922 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.2817, allocations: 41.7 kB / 0.4923 GB, free: 11.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.2821, allocations: 0.8262 MB / 0.4931 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2822, allocations: 234 kB / 0.4933 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.2824, allocations: 248.6 kB / 0.4935 GB, free: 9.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.2825, allocations: 349.8 kB / 0.4939 GB, free: 9.422 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2826, allocations: 116.9 kB / 0.494 GB, free: 9.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.2832, allocations: 0.9256 MB / 0.4949 GB, free: 8.109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.2836, allocations: 0.5695 MB / 0.4954 GB, free: 7.445 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2836, allocations: 0 / 0.4954 GB, free: 7.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0007551/0.2844, allocations: 0.6427 MB / 0.4961 GB, free: 6.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.2844, allocations: 14.12 kB / 0.4961 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.2844, allocations: 8 kB / 0.4961 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2844, allocations: 16 kB / 0.4961 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.2849, allocations: 246 kB / 0.4963 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.285, allocations: 19.92 kB / 0.4963 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.2856, allocations: 127.9 kB / 0.4965 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.2856, allocations: 46.39 kB / 0.4965 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003847/0.286, allocations: 208.4 kB / 0.4967 GB, free: 6.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007165/0.2867, allocations: 0.9292 MB / 0.4976 GB, free: 4.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004624/0.2872, allocations: 0.5655 MB / 0.4982 GB, free: 4.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.2872, allocations: 4.531 kB / 0.4982 GB, free: 4.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006599/0.2879, allocations: 0.6329 MB / 0.4988 GB, free: 3.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2879, allocations: 8 kB / 0.4988 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2879, allocations: 15.94 kB / 0.4988 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2879, allocations: 12 kB / 0.4988 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.2884, allocations: 239.6 kB / 0.4991 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2884, allocations: 28.34 kB / 0.4991 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.289, allocations: 107.4 kB / 0.4992 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.289, allocations: 36 kB / 0.4992 GB, free: 3.188 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0001991/0.2892, allocations: 255.9 kB / 0.4995 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2893, allocations: 132.7 kB / 0.4996 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.29, allocations: 493.4 kB / 0.5001 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.29, allocations: 8 kB / 0.5001 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.29, allocations: 0 / 0.5001 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002454/0.2902, allocations: 313.6 kB / 0.5004 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.292, allocations: 1.338 MB / 0.5017 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.292, allocations: 5.5 kB / 0.5017 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.2923, allocations: 117.7 kB / 0.5018 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2923, allocations: 4 kB / 0.5018 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.2923, allocations: 19.98 kB / 0.5018 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2923, allocations: 4 kB / 0.5018 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2923, allocations: 0 / 0.5018 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.293, allocations: 0.6312 MB / 0.5024 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.2933, allocations: 254.2 kB / 0.5027 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.2935, allocations: 14.72 kB / 0.5027 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.2938, allocations: 35.97 kB / 0.5027 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2939, allocations: 36.42 kB / 0.5028 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.2939, allocations: 23.97 kB / 0.5028 GB, free: 15.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006915/0.2946, allocations: 0.8549 MB / 0.5036 GB, free: 14.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2946, allocations: 0 / 0.5036 GB, free: 14.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00201/0.2966, allocations: 1.066 MB / 0.5047 GB, free: 13.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001223/0.2979, allocations: 0.5594 MB / 0.5052 GB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.2988, allocations: 0.7323 MB / 0.5059 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.662e-05/0.2988, allocations: 24.5 kB / 0.5059 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.299, allocations: 158.1 kB / 0.5061 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.3014, allocations: 1.213 MB / 0.5073 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.3052, allocations: 3.247 MB / 0.5104 GB, free: 7.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3055, allocations: 389.9 kB / 0.5108 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00124/0.3067, allocations: 362.7 kB / 0.5112 GB, free: 7.172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.308, allocations: 0.7527 MB / 0.5119 GB, free: 6.398 MB / 458.7 MB Notification: Performance of SimCode: time 1.954e-06/0.308, allocations: 0 / 0.5119 GB, free: 6.398 MB / 458.7 MB Notification: Performance of Templates: time 0.05494/0.363, allocations: 43.95 MB / 0.5548 GB, free: 11.47 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.634199690073729]