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.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.3 kB / 17.33 MB, free: 5.043 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.001313/0.001313, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.473/1.473, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8767/0.8767, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 65.3 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1865, allocations: 83.26 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02012/0.2066, allocations: 15.6 MB / 0.6877 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0068/0.2134, allocations: 4.304 MB / 0.6919 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.214, allocations: 23.88 kB / 0.6919 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.215, allocations: 274.3 kB / 0.6922 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.2167, allocations: 0.6257 MB / 0.6928 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.2186, allocations: 0.7014 MB / 0.6935 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.2201, allocations: 1.021 MB / 0.6945 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/0.2207, allocations: 291.8 kB / 0.6948 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.2216, allocations: 482 kB / 0.6952 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.2222, allocations: 318.6 kB / 0.6955 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.2223, allocations: 28 kB / 0.6956 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2235, allocations: 0.6395 MB / 0.6962 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2236, allocations: 107.5 kB / 0.6963 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.2239, allocations: 222.7 kB / 0.6965 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2252, allocations: 0.755 MB / 0.6972 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2252, allocations: 0 / 0.6972 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2252, allocations: 0 / 0.6972 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2252, allocations: 0 / 0.6972 GB, free: 10.43 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001475/0.2267, allocations: 0.8361 MB / 0.698 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2267, allocations: 8.031 kB / 0.6981 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2268, allocations: 60.55 kB / 0.6981 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.2276, allocations: 437.1 kB / 0.6985 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.2276, allocations: 20.44 kB / 0.6985 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.2277, allocations: 24 kB / 0.6986 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.2281, allocations: 211.2 kB / 0.6988 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2282, allocations: 0 / 0.6988 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2282, allocations: 8 kB / 0.6988 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2282, allocations: 8 kB / 0.6988 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.2286, allocations: 173.6 kB / 0.699 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2303, allocations: 0.9304 MB / 0.6999 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2306, allocations: 126.6 kB / 0.7 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2307, allocations: 64.81 kB / 0.7 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/0.2311, allocations: 344.5 kB / 0.7004 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2311, allocations: 34.56 kB / 0.7004 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2311, allocations: 0 / 0.7004 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006708/0.2318, allocations: 237.2 kB / 0.7006 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2318, allocations: 51.41 kB / 0.7007 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.2324, allocations: 469.9 kB / 0.7011 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.2325, allocations: 37.64 kB / 0.7012 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.2327, allocations: 224.7 kB / 0.7014 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.2327, allocations: 47.58 kB / 0.7014 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2328, allocations: 61.64 kB / 0.7015 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.233, allocations: 354.7 kB / 0.7018 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2332, allocations: 76.75 kB / 0.7019 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.2335, allocations: 158.4 kB / 0.702 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.2338, allocations: 161.3 kB / 0.7022 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2338, allocations: 8 kB / 0.7022 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005411/0.2344, allocations: 249.2 kB / 0.7024 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2344, allocations: 7.984 kB / 0.7025 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2344, allocations: 7.984 kB / 0.7025 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2344, allocations: 0 / 0.7025 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2347, allocations: 51.91 kB / 0.7025 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2347, allocations: 0 / 0.7025 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.235, allocations: 43.81 kB / 0.7026 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.235, allocations: 7.984 kB / 0.7026 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002832/0.2353, allocations: 192.1 kB / 0.7027 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002682/0.2355, allocations: 169.1 kB / 0.7029 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003409/0.2359, allocations: 171 kB / 0.7031 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.2359, allocations: 0 / 0.7031 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005105/0.2364, allocations: 261.2 kB / 0.7033 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.2364, allocations: 4 kB / 0.7033 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.2364, allocations: 0 / 0.7033 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.2364, allocations: 4 kB / 0.7033 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2366, allocations: 43.97 kB / 0.7034 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.2366, allocations: 0 / 0.7034 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.2369, allocations: 35.86 kB / 0.7034 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.237, allocations: 15.94 kB / 0.7034 GB, free: 3.668 MB / 0.5294 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.0001423/0.2371, allocations: 196.2 kB / 0.7036 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.2372, allocations: 47.66 kB / 0.7036 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.2378, allocations: 249.2 kB / 0.7039 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.2378, allocations: 4 kB / 0.7039 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2378, allocations: 3.984 kB / 0.7039 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2378, allocations: 3.938 kB / 0.7039 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2389, allocations: 0.6967 MB / 0.7046 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2389, allocations: 4.172 kB / 0.7046 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.239, allocations: 27.98 kB / 0.7046 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.239, allocations: 4.062 kB / 0.7046 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.239, allocations: 11.98 kB / 0.7046 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.239, allocations: 3.938 kB / 0.7046 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.239, allocations: 4 kB / 0.7046 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.2395, allocations: 337.3 kB / 0.705 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2397, allocations: 144.7 kB / 0.7051 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.2397, allocations: 4 kB / 0.7051 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.24, allocations: 15.98 kB / 0.7051 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.24, allocations: 11.92 kB / 0.7051 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.24, allocations: 11.98 kB / 0.7051 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003857/0.2404, allocations: 323.1 kB / 0.7054 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2404, allocations: 0 / 0.7054 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006757/0.2411, allocations: 203.6 kB / 0.7056 GB, free: 1.277 MB / 0.5294 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.001574/0.2427, allocations: 483.3 kB / 0.7061 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.2434, allocations: 251.7 kB / 0.7063 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2434, allocations: 0 / 0.7063 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2436, allocations: 84.27 kB / 0.7064 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.2445, allocations: 196.5 kB / 0.7066 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2459, allocations: 0.7096 MB / 0.7073 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.2463, allocations: 0.8308 MB / 0.7081 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.2466, allocations: 87.52 kB / 0.7082 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.2467, allocations: 39.42 kB / 0.7082 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2467, allocations: 0 / 0.7082 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01793/0.2646, allocations: 8.56 MB / 0.7166 GB, free: 6.242 MB / 0.545 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480]