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.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.0007347/0.0007347, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.000769/0.000769, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8326/0.8326, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.5352/0.5352, allocations: 114 MB / 374.7 MB, free: 8.715 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.5554 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.331e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01202/0.01205, allocations: 16.19 MB / 0.5712 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.01655, allocations: 4.648 MB / 0.5758 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.01678, allocations: 19.81 kB / 0.5758 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.01745, allocations: 258.2 kB / 0.576 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.01833, allocations: 0.6867 MB / 0.5767 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.01928, allocations: 0.7678 MB / 0.5775 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009355/0.02021, allocations: 0.9505 MB / 0.5784 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.0205, allocations: 276.9 kB / 0.5787 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.02105, allocations: 0.5918 MB / 0.5792 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.02129, allocations: 271.2 kB / 0.5795 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.02133, allocations: 32 kB / 0.5795 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.02191, allocations: 0.6157 MB / 0.5801 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.02201, allocations: 139.5 kB / 0.5803 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.02212, allocations: 159.5 kB / 0.5804 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.0229, allocations: 0.8956 MB / 0.5813 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.02291, allocations: 7.938 kB / 0.5813 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.02291, allocations: 0 / 0.5813 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.02291, allocations: 0 / 0.5813 GB, free: 7.672 MB / 0.5417 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.0008493/0.02376, allocations: 0.8111 MB / 0.5821 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.0238, allocations: 12.62 kB / 0.5821 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.02392, allocations: 60.56 kB / 0.5822 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.02443, allocations: 405.9 kB / 0.5825 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.02445, allocations: 24.5 kB / 0.5826 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.02448, allocations: 31.94 kB / 0.5826 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.02482, allocations: 273.3 kB / 0.5829 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.02483, allocations: 3.938 kB / 0.5829 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.02485, allocations: 16 kB / 0.5829 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.02486, allocations: 11.94 kB / 0.5829 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.02512, allocations: 189.8 kB / 0.5831 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.02621, allocations: 1.167 MB / 0.5842 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.02643, allocations: 150.8 kB / 0.5843 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.02652, allocations: 80.72 kB / 0.5844 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.02721, allocations: 0.5234 MB / 0.5849 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.02723, allocations: 42.55 kB / 0.585 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.02723, allocations: 0 / 0.585 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0003883/0.02762, allocations: 247 kB / 0.5852 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002873/0.02791, allocations: 59.34 kB / 0.5853 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.02831, allocations: 0.5527 MB / 0.5858 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.02832, allocations: 33.7 kB / 0.5858 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.02847, allocations: 280.3 kB / 0.5861 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.02849, allocations: 51.53 kB / 0.5862 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.02856, allocations: 69.92 kB / 0.5862 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.02866, allocations: 358.8 kB / 0.5866 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.02876, allocations: 73.94 kB / 0.5866 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.029, allocations: 446.1 kB / 0.5871 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.02925, allocations: 241.2 kB / 0.5873 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02925, allocations: 4 kB / 0.5873 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003372/0.02959, allocations: 307.1 kB / 0.5876 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.02961, allocations: 15.92 kB / 0.5876 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.02961, allocations: 0 / 0.5876 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.02962, allocations: 4 kB / 0.5876 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.02977, allocations: 63.91 kB / 0.5877 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.02977, allocations: 4 kB / 0.5877 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.02992, allocations: 40.08 kB / 0.5877 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.02995, allocations: 19.98 kB / 0.5877 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001897/0.03014, allocations: 216.6 kB / 0.5879 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000233/0.03037, allocations: 454.3 kB / 0.5884 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002215/0.03059, allocations: 223.5 kB / 0.5886 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.03059, allocations: 0 / 0.5886 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003244/0.03092, allocations: 309.1 kB / 0.5889 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.03093, allocations: 8 kB / 0.5889 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.03093, allocations: 0 / 0.5889 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.03093, allocations: 7.938 kB / 0.5889 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.03104, allocations: 64.09 kB / 0.589 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.03105, allocations: 7.984 kB / 0.589 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.0312, allocations: 39.77 kB / 0.589 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.03121, allocations: 19.98 kB / 0.589 GB, free: 15.24 MB / 0.5573 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 7.725e-05/0.03129, allocations: 204.3 kB / 0.5892 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.03133, allocations: 43.72 kB / 0.5893 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.03166, allocations: 267.1 kB / 0.5895 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.03166, allocations: 0 / 0.5895 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.03167, allocations: 4 kB / 0.5895 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.03167, allocations: 0 / 0.5895 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.03226, allocations: 0.6443 MB / 0.5901 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.03226, allocations: 4 kB / 0.5901 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.03234, allocations: 31.92 kB / 0.5902 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.03234, allocations: 3.984 kB / 0.5902 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.03235, allocations: 12 kB / 0.5902 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.03236, allocations: 3.984 kB / 0.5902 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03236, allocations: 4 kB / 0.5902 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.03271, allocations: 360.9 kB / 0.5905 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.0328, allocations: 59.69 kB / 0.5906 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.03283, allocations: 4 kB / 0.5906 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.03293, allocations: 15.98 kB / 0.5906 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.03297, allocations: 11.97 kB / 0.5906 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.03298, allocations: 8 kB / 0.5906 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002962/0.03328, allocations: 398.8 kB / 0.591 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.03328, allocations: 0 / 0.591 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005374/0.03382, allocations: 235.5 kB / 0.5912 GB, free: 12.87 MB / 0.5573 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.0007818/0.0346, allocations: 0.5174 MB / 0.5917 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.03501, allocations: 299.5 kB / 0.592 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03501, allocations: 0 / 0.592 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.03512, allocations: 92.88 kB / 0.5921 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.03593, allocations: 211.4 kB / 0.5923 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.03677, allocations: 0.8219 MB / 0.5931 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.03692, allocations: 238.1 kB / 0.5934 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.03698, allocations: 44.44 kB / 0.5934 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.03698, allocations: 4 kB / 0.5934 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.007088/0.04407, allocations: 8.443 MB / 0.6016 GB, free: 2.418 MB / 0.5573 GB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 5.762464052066207] Failed to read output from testmodel.py, exit status != 0: 0.0491106491535902 0.057243697 0.032677443 Calling exit ...