Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001509/0.001509, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001655/0.001655, allocations: 214.9 kB / 23.01 MB, free: 4.566 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.848/0.848, allocations: 145 MB / 458.2 MB, free: 15.92 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [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.002078/0.002078, allocations: 69.36 kB / 0.6344 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1567, allocations: 87.88 MB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002827/0.1595, allocations: 1.501 MB / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1607, allocations: 0.6428 MB / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.1607, allocations: 0 / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.1608, allocations: 7.875 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.1608, allocations: 7.922 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1615, allocations: 158 kB / 0.7225 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1616, allocations: 55.59 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.1617, allocations: 7.984 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.1617, allocations: 23.94 kB / 0.7226 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.1618, allocations: 27.84 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1618, allocations: 7.984 kB / 0.7226 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.1623, allocations: 343.3 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.1624, allocations: 15.97 kB / 0.7229 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1624, allocations: 23.88 kB / 0.723 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.1627, allocations: 183.3 kB / 0.7231 GB, free: 11.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1627, allocations: 0 / 0.7231 GB, free: 11.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1627, allocations: 0 / 0.7231 GB, free: 11.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1627, allocations: 0 / 0.7231 GB, free: 11.97 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006019/0.1633, allocations: 325.8 kB / 0.7234 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1634, allocations: 12.03 kB / 0.7235 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1634, allocations: 4.891 kB / 0.7235 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1635, allocations: 110.5 kB / 0.7236 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1635, allocations: 4.375 kB / 0.7236 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1636, allocations: 8.375 kB / 0.7236 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1638, allocations: 86.14 kB / 0.7237 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1638, allocations: 4.188 kB / 0.7237 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1638, allocations: 7.938 kB / 0.7237 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1638, allocations: 0 / 0.7237 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.1641, allocations: 51.94 kB / 0.7237 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.1646, allocations: 291.7 kB / 0.724 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.1649, allocations: 82.52 kB / 0.7241 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.165, allocations: 32.77 kB / 0.7241 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.165, allocations: 4 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1651, allocations: 34.56 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1651, allocations: 0 / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001552/0.1666, allocations: 0.4958 MB / 0.7246 GB, free: 10.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1667, allocations: 55.44 kB / 0.7247 GB, free: 10.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.1667, allocations: 113.7 kB / 0.7248 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1668, allocations: 29.64 kB / 0.7248 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1668, allocations: 88.12 kB / 0.7249 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.1669, allocations: 39.64 kB / 0.7249 GB, free: 9.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1669, allocations: 29.72 kB / 0.725 GB, free: 9.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.167, allocations: 318.8 kB / 0.7253 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1672, allocations: 27.98 kB / 0.7253 GB, free: 9.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1673, allocations: 35.97 kB / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.1675, allocations: 75.58 kB / 0.7254 GB, free: 9.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1675, allocations: 0 / 0.7254 GB, free: 9.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003005/0.1678, allocations: 125.7 kB / 0.7255 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1678, allocations: 4 kB / 0.7255 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1678, allocations: 0 / 0.7255 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1678, allocations: 0 / 0.7255 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.168, allocations: 27.98 kB / 0.7256 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.168, allocations: 0 / 0.7256 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.168, allocations: 11.92 kB / 0.7256 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.168, allocations: 4 kB / 0.7256 GB, free: 9.238 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 9.859e-05/0.1681, allocations: 119.2 kB / 0.7257 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1682, allocations: 4 kB / 0.7257 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.1685, allocations: 137.6 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1685, allocations: 4 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1685, allocations: 4 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1685, allocations: 3.938 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.1691, allocations: 349.5 kB / 0.7262 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1691, allocations: 0 / 0.7262 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1692, allocations: 31.98 kB / 0.7262 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1692, allocations: 3.938 kB / 0.7262 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1692, allocations: 7.938 kB / 0.7262 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1692, allocations: 4 kB / 0.7262 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1692, allocations: 3.938 kB / 0.7262 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.1697, allocations: 247.4 kB / 0.7265 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.1697, allocations: 0 / 0.7265 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1697, allocations: 7.938 kB / 0.7265 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1699, allocations: 8.234 kB / 0.7265 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.1699, allocations: 11.98 kB / 0.7265 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1699, allocations: 11.98 kB / 0.7265 GB, free: 8.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.1699, allocations: 79.28 kB / 0.7266 GB, free: 8.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1699, allocations: 0 / 0.7266 GB, free: 8.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002658/0.1702, allocations: 43.8 kB / 0.7266 GB, free: 8.094 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001953/0.1704, allocations: 127.1 kB / 0.7267 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1707, allocations: 91.81 kB / 0.7268 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1707, allocations: 0 / 0.7268 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1708, allocations: 35.98 kB / 0.7269 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1711, allocations: 11.98 kB / 0.7269 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.1718, allocations: 355.5 kB / 0.7272 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1721, allocations: 0.6931 MB / 0.7279 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.1722, allocations: 11.44 kB / 0.7279 GB, free: 6.711 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1722, allocations: 0 / 0.7279 GB, free: 6.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003166/0.1753, allocations: 1.352 MB / 0.7292 GB, free: 5.371 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.3123251281213015] Failed to read output from testmodel.py, exit status != 0: 0.18370935297571123 0.19774254399999994 0.032038653 Calling exit ...