Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114.4 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 186.5 kB / 22.98 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9924/0.9924, allocations: 149.6 MB / 456.6 MB, free: 1.195 MB / 350.1 MB " [Timeout remaining time 179] 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 71.41 kB / 0.6329 GB, free: 8.965 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2054, allocations: 87.88 MB / 0.7187 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003275/0.2087, allocations: 1.278 MB / 0.7199 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2101, allocations: 0.615 MB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.2102, allocations: 0 / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.2102, allocations: 11.92 kB / 0.7205 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.2102, allocations: 11.86 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.2109, allocations: 145.8 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.211, allocations: 27.92 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.2111, allocations: 7.984 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.2111, allocations: 7.984 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.2112, allocations: 11.94 kB / 0.7207 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2112, allocations: 4 kB / 0.7207 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.2118, allocations: 347.3 kB / 0.7211 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.2118, allocations: 8 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.2119, allocations: 19.86 kB / 0.7211 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2122, allocations: 143.6 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2122, allocations: 7.875 kB / 0.7212 GB, free: 14.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2122, allocations: 3.938 kB / 0.7212 GB, free: 14.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.2122, allocations: 0 / 0.7212 GB, free: 14.37 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004962/0.2127, allocations: 290 kB / 0.7215 GB, free: 14.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2128, allocations: 8.031 kB / 0.7215 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2128, allocations: 12.89 kB / 0.7215 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2129, allocations: 110.5 kB / 0.7216 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2129, allocations: 4.375 kB / 0.7216 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.213, allocations: 12.36 kB / 0.7217 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2131, allocations: 45.62 kB / 0.7217 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2131, allocations: 0 / 0.7217 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2132, allocations: 8 kB / 0.7217 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2132, allocations: 0 / 0.7217 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.2132, allocations: 23.92 kB / 0.7217 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.2134, allocations: 136.7 kB / 0.7219 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2136, allocations: 62.61 kB / 0.7219 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.2136, allocations: 24.86 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2136, allocations: 3.938 kB / 0.722 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2137, allocations: 34.56 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2137, allocations: 0 / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001354/0.215, allocations: 443.8 kB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.2152, allocations: 63.34 kB / 0.7225 GB, free: 12.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.2153, allocations: 97.84 kB / 0.7226 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2153, allocations: 25.7 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.2153, allocations: 88.27 kB / 0.7227 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.2154, allocations: 39.64 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.2155, allocations: 25.72 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.2157, allocations: 318.8 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.2157, allocations: 20 kB / 0.7231 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.2158, allocations: 19.98 kB / 0.7231 GB, free: 12.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2159, allocations: 60.78 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2159, allocations: 0 / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001598/0.216, allocations: 101 kB / 0.7232 GB, free: 12.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.216, allocations: 12 kB / 0.7232 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.216, allocations: 3.938 kB / 0.7232 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2161, allocations: 96 / 0.7232 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2162, allocations: 23.92 kB / 0.7233 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2162, allocations: 4 kB / 0.7233 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.2162, allocations: 0 / 0.7233 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2162, allocations: 4 kB / 0.7233 GB, free: 12.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001138/0.2163, allocations: 117.8 kB / 0.7234 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.2163, allocations: 7.953 kB / 0.7234 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.2166, allocations: 105.7 kB / 0.7235 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2166, allocations: 4 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2166, allocations: 0 / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2166, allocations: 0 / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.217, allocations: 325.7 kB / 0.7238 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.217, allocations: 0 / 0.7238 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2172, allocations: 24 kB / 0.7238 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2172, allocations: 3.984 kB / 0.7238 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2172, allocations: 4 kB / 0.7238 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2172, allocations: 4 kB / 0.7238 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2172, allocations: 80 / 0.7238 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2175, allocations: 227.3 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.2175, allocations: 7.984 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2176, allocations: 0 / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.2177, allocations: 11.98 kB / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2177, allocations: 0 / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2177, allocations: 11.92 kB / 0.7241 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.2177, allocations: 83.34 kB / 0.7242 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 0.7242 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002912/0.218, allocations: 35.88 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0002305/0.2183, allocations: 135.1 kB / 0.7243 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.2184, allocations: 55.92 kB / 0.7244 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2184, allocations: 0 / 0.7244 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2186, allocations: 31.92 kB / 0.7244 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2188, allocations: 10.53 kB / 0.7244 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.2194, allocations: 296.9 kB / 0.7247 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2198, allocations: 0.6845 MB / 0.7254 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.2198, allocations: 15.98 kB / 0.7254 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2199, allocations: 11.44 kB / 0.7254 GB, free: 9.727 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2199, allocations: 0 / 0.7254 GB, free: 9.727 MB / 0.545 GB Notification: Performance of Templates: time 0.004208/0.2241, allocations: 1.007 MB / 0.7264 GB, free: 8.758 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912094810977578] Failed to read output from testmodel.py, exit status != 0: 0.23413747549057007 0.25527798700000004 0.037265171 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f21f5d817b0>