Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001287/0.001287, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.00145/0.00145, allocations: 220.7 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8833/0.8833, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 74.44 kB / 0.6343 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1646, allocations: 87.89 MB / 0.7201 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002303/0.1669, allocations: 1.279 MB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1679, allocations: 0.5565 MB / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.168, allocations: 0 / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.168, allocations: 4 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.168, allocations: 7.922 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.1686, allocations: 146.3 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.1686, allocations: 23.92 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.1687, allocations: 0 / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.1687, allocations: 7.984 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.1688, allocations: 15.92 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1688, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1692, allocations: 267.5 kB / 0.7224 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1692, allocations: 4 kB / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1692, allocations: 15.92 kB / 0.7224 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1695, allocations: 131.5 kB / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1695, allocations: 0 / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1695, allocations: 0 / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1695, allocations: 4 kB / 0.7225 GB, free: 11.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004192/0.1699, allocations: 282 kB / 0.7228 GB, free: 11.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1699, allocations: 8.031 kB / 0.7228 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.17, allocations: 8.891 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1701, allocations: 114.5 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1701, allocations: 4.375 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1701, allocations: 4.375 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1703, allocations: 67.94 kB / 0.723 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1703, allocations: 192 / 0.723 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1703, allocations: 11.88 kB / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1703, allocations: 0 / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.1703, allocations: 8 kB / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1705, allocations: 113.3 kB / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1707, allocations: 38.61 kB / 0.7232 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.1707, allocations: 12.86 kB / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1707, allocations: 8 kB / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1708, allocations: 38.5 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1708, allocations: 0 / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005974/0.1714, allocations: 237.1 kB / 0.7234 GB, free: 10.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1714, allocations: 51.41 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.1715, allocations: 97.86 kB / 0.7236 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1715, allocations: 25.7 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1715, allocations: 80.14 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1716, allocations: 27.78 kB / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1716, allocations: 21.66 kB / 0.7237 GB, free: 10.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1717, allocations: 322.8 kB / 0.724 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.1718, allocations: 8 kB / 0.7241 GB, free: 10.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.1718, allocations: 12 kB / 0.7241 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.1719, allocations: 36.84 kB / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1719, allocations: 0 / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.939e-05/0.172, allocations: 65.62 kB / 0.7242 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.172, allocations: 7.984 kB / 0.7242 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.172, allocations: 3.938 kB / 0.7242 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.172, allocations: 0 / 0.7242 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.172, allocations: 12 kB / 0.7242 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.172, allocations: 0 / 0.7242 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1721, allocations: 4 kB / 0.7242 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1721, allocations: 4 kB / 0.7242 GB, free: 9.984 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 (7): * Single equations (assignments): 7 * 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.762e-05/0.1721, allocations: 112.9 kB / 0.7243 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.1722, allocations: 4 kB / 0.7243 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1723, allocations: 85.5 kB / 0.7244 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1723, allocations: 0.5156 kB / 0.7244 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1723, allocations: 0 / 0.7244 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1723, allocations: 0 / 0.7244 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1726, allocations: 263.2 kB / 0.7246 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1726, allocations: 7.969 kB / 0.7246 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.1727, allocations: 16 kB / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1727, allocations: 0 / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1727, allocations: 4 kB / 0.7247 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1727, allocations: 0 / 0.7247 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1727, allocations: 3.984 kB / 0.7247 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1729, allocations: 180.3 kB / 0.7248 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.1729, allocations: 7.891 kB / 0.7248 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1729, allocations: 8.016 kB / 0.7249 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.173, allocations: 0 / 0.7249 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.173, allocations: 8 kB / 0.7249 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.173, allocations: 4.062 kB / 0.7249 GB, free: 9.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.1731, allocations: 83.27 kB / 0.7249 GB, free: 9.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1731, allocations: 0 / 0.7249 GB, free: 9.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002352/0.1733, allocations: 19.94 kB / 0.725 GB, free: 9.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001785/0.1735, allocations: 131 kB / 0.7251 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1736, allocations: 32.16 kB / 0.7251 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1736, allocations: 4 kB / 0.7251 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.1736, allocations: 8 kB / 0.7251 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1738, allocations: 16.33 kB / 0.7251 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.1742, allocations: 229.1 kB / 0.7254 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.367e-05/0.1743, allocations: 67.34 kB / 0.7254 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1743, allocations: 11.44 kB / 0.7254 GB, free: 8.574 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1743, allocations: 4 kB / 0.7254 GB, free: 8.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002511/0.1768, allocations: 0.8184 MB / 0.7262 GB, free: 7.758 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.309095150791109] Failed to read output from testmodel.py, exit status != 0: 0.1852990952320397 0.198580466 0.026237392000000002 Calling exit ...