Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001246/0.001246, allocations: 85.86 kB / 21.44 MB, free: 3.051 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.002018/0.002018, allocations: 169.3 kB / 24.84 MB, free: 9.25 MB / 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 0.9771/0.9771, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6014/0.6014, allocations: 115 MB / 376.8 MB, free: 7.434 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.584e-05, allocations: 2.312 kB / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006327/0.006342, allocations: 7.308 MB / 490.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.009866, allocations: 3.201 MB / 493.3 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.01016, allocations: 23.94 kB / 493.3 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.01075, allocations: 196.9 kB / 493.5 MB, free: 4.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.01144, allocations: 486.3 kB / 494 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.01252, allocations: 0.7277 MB / 494.7 MB, free: 3.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.01331, allocations: 0.9841 MB / 495.7 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.0136, allocations: 279.1 kB / 495.9 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.01436, allocations: 0.5332 MB / 496.5 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01466, allocations: 269.8 kB / 496.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.01471, allocations: 27.78 kB / 496.8 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.01527, allocations: 470.1 kB / 497.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.01535, allocations: 107 kB / 497.3 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01547, allocations: 146.8 kB / 497.5 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.01608, allocations: 0.5987 MB / 498.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01608, allocations: 0 / 498.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01608, allocations: 0 / 498.1 MB, free: 2.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.01609, allocations: 0 / 498.1 MB, free: 2.543 MB / 410.7 MB 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.0007237/0.01681, allocations: 0.8598 MB / 498.9 MB, free: 1.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.01685, allocations: 9.656 kB / 498.9 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.01694, allocations: 76.59 kB / 499 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.01731, allocations: 372.3 kB / 499.4 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.01734, allocations: 23.81 kB / 499.4 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.01737, allocations: 27.09 kB / 499.4 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.01756, allocations: 147.4 kB / 499.6 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.01757, allocations: 1.094 kB / 499.6 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.01758, allocations: 9.875 kB / 499.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01759, allocations: 5.688 kB / 499.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.01767, allocations: 60.81 kB / 499.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.01845, allocations: 0.6686 MB / 0.4886 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.01857, allocations: 79.3 kB / 0.4887 GB, free: 17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.0186, allocations: 29.39 kB / 0.4887 GB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.01867, allocations: 14.94 kB / 0.4887 GB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.01869, allocations: 43.95 kB / 0.4887 GB, free: 16.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.01869, allocations: 0 / 0.4887 GB, free: 16.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000218/0.01891, allocations: 135.5 kB / 0.4889 GB, free: 16.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.01893, allocations: 52.69 kB / 0.4889 GB, free: 16.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.0192, allocations: 433.5 kB / 0.4893 GB, free: 16.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.01922, allocations: 31.8 kB / 0.4894 GB, free: 16.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01934, allocations: 287 kB / 0.4896 GB, free: 16.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.01937, allocations: 50.8 kB / 0.4897 GB, free: 16.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01944, allocations: 65.84 kB / 0.4898 GB, free: 16.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01957, allocations: 0.5269 MB / 0.4903 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.01961, allocations: 32.52 kB / 0.4903 GB, free: 15.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.01973, allocations: 383.5 kB / 0.4907 GB, free: 15.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.01983, allocations: 81.44 kB / 0.4907 GB, free: 15.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01984, allocations: 4.938 kB / 0.4908 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000209/0.02005, allocations: 169.6 kB / 0.4909 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.02006, allocations: 9.781 kB / 0.4909 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.02006, allocations: 0 / 0.4909 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.02007, allocations: 2.094 kB / 0.4909 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.0202, allocations: 44.58 kB / 0.491 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.0202, allocations: 6.156 kB / 0.491 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.02031, allocations: 27.31 kB / 0.491 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.02033, allocations: 8.688 kB / 0.491 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.715e-05/0.02043, allocations: 154.7 kB / 0.4912 GB, free: 14.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001716/0.0206, allocations: 397.3 kB / 0.4915 GB, free: 14.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.884e-05/0.0207, allocations: 104.2 kB / 0.4916 GB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.0207, allocations: 0.9688 kB / 0.4916 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002015/0.0209, allocations: 175.4 kB / 0.4918 GB, free: 14.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.02091, allocations: 5.531 kB / 0.4918 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.02091, allocations: 1.859 kB / 0.4918 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.02091, allocations: 3.375 kB / 0.4918 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.02101, allocations: 48.09 kB / 0.4919 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.02101, allocations: 4.047 kB / 0.4919 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.02113, allocations: 26.38 kB / 0.4919 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.02114, allocations: 8.375 kB / 0.4919 GB, free: 14.31 MB / 426.7 MB 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 9.5e-05/0.02124, allocations: 286.1 kB / 0.4922 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.02129, allocations: 44.53 kB / 0.4922 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.02153, allocations: 167.6 kB / 0.4924 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.02153, allocations: 4.25 kB / 0.4924 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.02153, allocations: 0 / 0.4924 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02154, allocations: 2.516 kB / 0.4924 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.02202, allocations: 0.519 MB / 0.4929 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.02202, allocations: 1.562 kB / 0.4929 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.02209, allocations: 33.08 kB / 0.4929 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02209, allocations: 2.938 kB / 0.4929 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.0221, allocations: 7.266 kB / 0.4929 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.0221, allocations: 1.781 kB / 0.4929 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0221, allocations: 1.531 kB / 0.4929 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.0223, allocations: 338.1 kB / 0.4933 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.02237, allocations: 55.2 kB / 0.4933 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.0224, allocations: 6.812 kB / 0.4933 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.02248, allocations: 9.312 kB / 0.4933 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.02252, allocations: 19.14 kB / 0.4933 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.02253, allocations: 6.734 kB / 0.4933 GB, free: 13.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.0227, allocations: 274.8 kB / 0.4936 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0227, allocations: 1.25 kB / 0.4936 GB, free: 13.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000401/0.0231, allocations: 192.1 kB / 0.4938 GB, free: 12.99 MB / 426.7 MB 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.0009387/0.02404, allocations: 406.7 kB / 0.4942 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.02432, allocations: 152.8 kB / 0.4943 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.02432, allocations: 5.375 kB / 0.4943 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.0244, allocations: 50.75 kB / 0.4944 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.0251, allocations: 177.5 kB / 0.4945 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02626, allocations: 0.6868 MB / 0.4952 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.02635, allocations: 113.1 kB / 0.4953 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.02653, allocations: 60.66 kB / 0.4954 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.02685, allocations: 209.3 kB / 0.4956 GB, free: 12.11 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02685, allocations: 0.5625 kB / 0.4956 GB, free: 12.11 MB / 426.7 MB Notification: Performance of Templates: time 0.01292/0.03977, allocations: 8.452 MB / 0.5038 GB, free: 6.469 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.86179763590917]