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.001314/0.001314, allocations: 116.2 kB / 17.8 MB, free: 5.266 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.001312/0.001312, allocations: 183 kB / 20.74 MB, free: 2.336 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.474/1.474, allocations: 225.6 MB / 249.1 MB, free: 3.75 MB / 190.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.9871/0.9871, allocations: 149.7 MB / 453.7 MB, free: 10.64 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.001944/0.001944, allocations: 72.77 kB / 0.6285 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1603, allocations: 87.85 MB / 0.7143 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002449/0.1628, allocations: 1.284 MB / 0.7156 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1639, allocations: 0.6154 MB / 0.7162 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1639, allocations: 0 / 0.7162 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.164, allocations: 0 / 0.7162 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.164, allocations: 3.938 kB / 0.7162 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.1645, allocations: 159.4 kB / 0.7163 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.1646, allocations: 23.92 kB / 0.7163 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1647, allocations: 4 kB / 0.7163 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.1647, allocations: 7.938 kB / 0.7163 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.1647, allocations: 15.92 kB / 0.7164 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1648, allocations: 4 kB / 0.7164 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.1653, allocations: 343.3 kB / 0.7167 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1653, allocations: 11.98 kB / 0.7167 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1653, allocations: 11.92 kB / 0.7167 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1656, allocations: 155.5 kB / 0.7169 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1656, allocations: 4 kB / 0.7169 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1656, allocations: 0 / 0.7169 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.1656, allocations: 0 / 0.7169 GB, free: 9.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000484/0.1661, allocations: 367.1 kB / 0.7172 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1661, allocations: 8.031 kB / 0.7172 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1662, allocations: 4.891 kB / 0.7172 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1663, allocations: 164.4 kB / 0.7174 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1663, allocations: 4.375 kB / 0.7174 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1664, allocations: 8.312 kB / 0.7174 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1665, allocations: 65.55 kB / 0.7175 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1665, allocations: 3.984 kB / 0.7175 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1665, allocations: 3.938 kB / 0.7175 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1665, allocations: 0 / 0.7175 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.1666, allocations: 23.97 kB / 0.7175 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.1668, allocations: 169.6 kB / 0.7177 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1669, allocations: 58.5 kB / 0.7177 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.1669, allocations: 36.84 kB / 0.7177 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.167, allocations: 3.938 kB / 0.7177 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.167, allocations: 34.56 kB / 0.7178 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.167, allocations: 0 / 0.7178 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001166/0.1682, allocations: 0.5764 MB / 0.7183 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1682, allocations: 55.41 kB / 0.7184 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.1683, allocations: 93.86 kB / 0.7185 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1683, allocations: 29.7 kB / 0.7185 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.1683, allocations: 80.14 kB / 0.7186 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.1684, allocations: 43.58 kB / 0.7186 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1684, allocations: 29.7 kB / 0.7187 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1686, allocations: 323 kB / 0.719 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.1686, allocations: 19.98 kB / 0.719 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.1687, allocations: 22.36 kB / 0.719 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1688, allocations: 60.73 kB / 0.7191 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1688, allocations: 0 / 0.7191 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.1689, allocations: 93.69 kB / 0.7192 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1689, allocations: 11.98 kB / 0.7192 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.169, allocations: 0 / 0.7192 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.169, allocations: 0 / 0.7192 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1691, allocations: 20 kB / 0.7192 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1691, allocations: 7.938 kB / 0.7192 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.1691, allocations: 0 / 0.7192 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1691, allocations: 11.98 kB / 0.7192 GB, free: 6.34 MB / 0.5294 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.362e-05/0.1692, allocations: 114.7 kB / 0.7193 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1692, allocations: 7.953 kB / 0.7193 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1694, allocations: 97.58 kB / 0.7194 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1694, allocations: 4 kB / 0.7194 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1694, allocations: 4 kB / 0.7194 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1694, allocations: 11.92 kB / 0.7194 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1699, allocations: 350.6 kB / 0.7198 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1699, allocations: 7.875 kB / 0.7198 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.17, allocations: 19.98 kB / 0.7198 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.17, allocations: 0 / 0.7198 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.17, allocations: 4 kB / 0.7198 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.17, allocations: 3.938 kB / 0.7198 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.17, allocations: 0 / 0.7198 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1702, allocations: 226.3 kB / 0.72 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.1703, allocations: 85.09 kB / 0.7201 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1703, allocations: 0 / 0.7201 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.1704, allocations: 8 kB / 0.7201 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1704, allocations: 3.984 kB / 0.7201 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.1704, allocations: 7.938 kB / 0.7201 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.1705, allocations: 79.28 kB / 0.7202 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1705, allocations: 0 / 0.7202 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002618/0.1707, allocations: 43.95 kB / 0.7202 GB, free: 5.172 MB / 0.5294 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.0002069/0.1709, allocations: 139 kB / 0.7204 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1711, allocations: 55.97 kB / 0.7204 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1711, allocations: 0 / 0.7204 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.1711, allocations: 27.94 kB / 0.7204 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1713, allocations: 12.59 kB / 0.7205 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.1719, allocations: 314.4 kB / 0.7208 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1722, allocations: 0.6846 MB / 0.7214 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1723, allocations: 15.44 kB / 0.7214 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1723, allocations: 0 / 0.7214 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of Templates: time 0.003139/0.1754, allocations: 1.132 MB / 0.7225 GB, free: 2.742 MB / 0.5294 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 os._exit(0), Time elapsed: 8.202454286045395] Failed to read output from testmodel.py, exit status != 0: 0.18238203099463135 0.196081099 0.027711486 Calling exit ...