Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.3 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 198.6 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8868/0.8868, allocations: 128.4 MB / 426.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 62.48 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 83.27 MB / 0.6725 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0219/0.2033, allocations: 17.56 MB / 0.6896 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008174/0.2114, allocations: 4.917 MB / 0.6944 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006912/0.2121, allocations: 11.94 kB / 0.6944 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.2131, allocations: 262.3 kB / 0.6947 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.2149, allocations: 0.6375 MB / 0.6953 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.2174, allocations: 0.7293 MB / 0.696 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.219, allocations: 0.9585 MB / 0.697 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.2196, allocations: 285 kB / 0.6972 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.2206, allocations: 482 kB / 0.6977 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.2211, allocations: 314.6 kB / 0.698 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.2211, allocations: 32 kB / 0.698 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.2228, allocations: 0.733 MB / 0.6987 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.2229, allocations: 143.5 kB / 0.6989 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.2232, allocations: 242.6 kB / 0.6991 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.2245, allocations: 0.8757 MB / 0.7 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2245, allocations: 0 / 0.7 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2245, allocations: 0 / 0.7 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.2246, allocations: 0 / 0.7 GB, free: 7.609 MB / 0.5294 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.001454/0.226, allocations: 0.902 MB / 0.7008 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2261, allocations: 8.031 kB / 0.7009 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2262, allocations: 68.55 kB / 0.7009 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.2271, allocations: 457.4 kB / 0.7014 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.2271, allocations: 24.56 kB / 0.7014 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.2271, allocations: 31.94 kB / 0.7014 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.2278, allocations: 278.3 kB / 0.7017 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2278, allocations: 3.984 kB / 0.7017 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.2278, allocations: 15.98 kB / 0.7017 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2278, allocations: 11.94 kB / 0.7017 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.2283, allocations: 190.1 kB / 0.7019 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.2303, allocations: 1.469 MB / 0.7033 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2306, allocations: 154.8 kB / 0.7035 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2308, allocations: 72.81 kB / 0.7035 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.2325, allocations: 1.288 MB / 0.7048 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2326, allocations: 30.56 kB / 0.7048 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2326, allocations: 0 / 0.7048 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006586/0.2332, allocations: 245.2 kB / 0.7051 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.2333, allocations: 59.41 kB / 0.7051 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.234, allocations: 0.5808 MB / 0.7057 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.2341, allocations: 33.7 kB / 0.7057 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.2343, allocations: 268.5 kB / 0.706 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.2343, allocations: 63.45 kB / 0.706 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2345, allocations: 77.86 kB / 0.7061 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2346, allocations: 350.8 kB / 0.7064 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2349, allocations: 85.92 kB / 0.7065 GB, free: 412 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.2352, allocations: 214.7 kB / 0.7067 GB, free: 148 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.2357, allocations: 236 kB / 0.707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2357, allocations: 0 / 0.707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006336/0.2363, allocations: 317.2 kB / 0.7073 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2363, allocations: 8 kB / 0.7073 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2363, allocations: 0 / 0.7073 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2363, allocations: 4 kB / 0.7073 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.2366, allocations: 67.84 kB / 0.7073 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2366, allocations: 7.984 kB / 0.7073 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.237, allocations: 47.7 kB / 0.7074 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.237, allocations: 12 kB / 0.7074 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003591/0.2373, allocations: 216.8 kB / 0.7076 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003048/0.2377, allocations: 209.6 kB / 0.7078 GB, free: 14.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004038/0.2381, allocations: 230.9 kB / 0.708 GB, free: 14.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.2381, allocations: 4 kB / 0.708 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005924/0.2387, allocations: 315.3 kB / 0.7083 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.2387, allocations: 8 kB / 0.7083 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2387, allocations: 4 kB / 0.7083 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.2387, allocations: 4 kB / 0.7083 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2389, allocations: 63.89 kB / 0.7084 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2389, allocations: 4 kB / 0.7084 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.2392, allocations: 35.88 kB / 0.7084 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2393, allocations: 16.11 kB / 0.7085 GB, free: 14.24 MB / 0.545 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.000158/0.2394, allocations: 204.3 kB / 0.7086 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.2395, allocations: 47.67 kB / 0.7087 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.2401, allocations: 268.1 kB / 0.709 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.2401, allocations: 4 kB / 0.709 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2401, allocations: 0 / 0.709 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2401, allocations: 8 kB / 0.709 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2413, allocations: 0.7277 MB / 0.7097 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2413, allocations: 0 / 0.7097 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2414, allocations: 35.91 kB / 0.7097 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2414, allocations: 12.06 kB / 0.7097 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2414, allocations: 4 kB / 0.7097 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2414, allocations: 4 kB / 0.7097 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2414, allocations: 0 / 0.7097 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.242, allocations: 355.6 kB / 0.7101 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.2421, allocations: 148.7 kB / 0.7102 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.2422, allocations: 4 kB / 0.7102 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2424, allocations: 15.92 kB / 0.7102 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.2424, allocations: 15.92 kB / 0.7102 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2424, allocations: 4 kB / 0.7102 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005166/0.243, allocations: 422.8 kB / 0.7106 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.243, allocations: 0 / 0.7106 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007693/0.2437, allocations: 231.5 kB / 0.7109 GB, free: 11.65 MB / 0.545 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.001634/0.2454, allocations: 0.4924 MB / 0.7113 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000738/0.2461, allocations: 300.5 kB / 0.7116 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2461, allocations: 4 kB / 0.7116 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2463, allocations: 87.83 kB / 0.7117 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.2475, allocations: 254 kB / 0.712 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2492, allocations: 0.8082 MB / 0.7128 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.2498, allocations: 0.8428 MB / 0.7136 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.2501, allocations: 104.6 kB / 0.7137 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.2502, allocations: 43.42 kB / 0.7137 GB, free: 8.793 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.2502, allocations: 0 / 0.7137 GB, free: 8.793 MB / 0.545 GB Notification: Performance of Templates: time 0.02006/0.2703, allocations: 10.31 MB / 0.7238 GB, free: 14.62 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480]