Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001228/0.001228, allocations: 97.69 kB / 19.58 MB, free: 2.324 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.001309/0.001309, allocations: 188.9 kB / 22.85 MB, free: 5.652 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.347/1.347, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 284.1 kB / 307 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.192/1.192, allocations: 180.8 MB / 0.5304 GB, free: 14.4 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 95.14 kB / 0.7311 GB, free: 38.69 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1595, allocations: 94.2 MB / 0.8231 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00267/0.1622, allocations: 1.489 MB / 0.8245 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1634, allocations: 0.6397 MB / 0.8251 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1634, allocations: 0 / 0.8251 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.1634, allocations: 7.938 kB / 0.8252 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.1635, allocations: 7.922 kB / 0.8252 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.164, allocations: 155.4 kB / 0.8253 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.1641, allocations: 55.55 kB / 0.8254 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1642, allocations: 3.984 kB / 0.8254 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1642, allocations: 27.92 kB / 0.8254 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.1643, allocations: 27.91 kB / 0.8254 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1643, allocations: 8 kB / 0.8254 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.1647, allocations: 279.5 kB / 0.8257 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.1648, allocations: 19.92 kB / 0.8257 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1648, allocations: 23.86 kB / 0.8257 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1651, allocations: 163.4 kB / 0.8259 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1651, allocations: 0 / 0.8259 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1651, allocations: 3.938 kB / 0.8259 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1651, allocations: 4 kB / 0.8259 GB, free: 15.11 MB / 0.5762 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.0005776/0.1657, allocations: 331.5 kB / 0.8262 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1657, allocations: 12.02 kB / 0.8262 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1657, allocations: 4.938 kB / 0.8262 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1659, allocations: 118.4 kB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.1659, allocations: 4.312 kB / 0.8263 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1659, allocations: 8.375 kB / 0.8264 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1662, allocations: 88.45 kB / 0.8264 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1662, allocations: 192 / 0.8264 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1662, allocations: 3.938 kB / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1662, allocations: 4 kB / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1664, allocations: 55.95 kB / 0.8265 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.167, allocations: 283.8 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.1673, allocations: 78.53 kB / 0.8268 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1674, allocations: 28.84 kB / 0.8269 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1674, allocations: 4 kB / 0.8269 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1674, allocations: 30.56 kB / 0.8269 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1674, allocations: 0 / 0.8269 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1689, allocations: 0.5035 MB / 0.8274 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.169, allocations: 51.41 kB / 0.8274 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.1691, allocations: 109.8 kB / 0.8275 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1691, allocations: 29.7 kB / 0.8276 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1691, allocations: 92.03 kB / 0.8277 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.1692, allocations: 47.62 kB / 0.8277 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.1692, allocations: 29.7 kB / 0.8277 GB, free: 13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1694, allocations: 314.8 kB / 0.828 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1695, allocations: 31.97 kB / 0.8281 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1696, allocations: 35.97 kB / 0.8281 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1698, allocations: 72.78 kB / 0.8282 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1698, allocations: 0 / 0.8282 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000327/0.1702, allocations: 126.7 kB / 0.8283 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1702, allocations: 4 kB / 0.8283 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1702, allocations: 0 / 0.8283 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1702, allocations: 0 / 0.8283 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1703, allocations: 23.98 kB / 0.8283 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.1703, allocations: 4 kB / 0.8283 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1704, allocations: 7.938 kB / 0.8283 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1704, allocations: 11.98 kB / 0.8283 GB, free: 12.37 MB / 0.5762 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 8.842e-05/0.1705, allocations: 117.8 kB / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1705, allocations: 7.953 kB / 0.8285 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1709, allocations: 121.8 kB / 0.8286 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1709, allocations: 4 kB / 0.8286 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1709, allocations: 0 / 0.8286 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1709, allocations: 15.86 kB / 0.8286 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.1714, allocations: 345.5 kB / 0.8289 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1714, allocations: 4.188 kB / 0.8289 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1716, allocations: 23.98 kB / 0.829 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1716, allocations: 0 / 0.829 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1716, allocations: 19.91 kB / 0.829 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1716, allocations: 0 / 0.829 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1716, allocations: 0 / 0.829 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.1721, allocations: 255.3 kB / 0.8292 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.1721, allocations: 7.953 kB / 0.8292 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1721, allocations: 3.938 kB / 0.8292 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1722, allocations: 8.031 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.1722, allocations: 3.984 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1722, allocations: 16.05 kB / 0.8293 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.1723, allocations: 79.28 kB / 0.8293 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1723, allocations: 0 / 0.8293 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002807/0.1726, allocations: 39.88 kB / 0.8294 GB, free: 11.23 MB / 0.5762 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.000195/0.1728, allocations: 135.7 kB / 0.8295 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1731, allocations: 81.08 kB / 0.8296 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1731, allocations: 0 / 0.8296 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1732, allocations: 47.97 kB / 0.8296 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1735, allocations: 11.94 kB / 0.8296 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.1742, allocations: 310 kB / 0.8299 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1745, allocations: 0.6924 MB / 0.8306 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.1746, allocations: 20.58 kB / 0.8306 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1746, allocations: 15.44 kB / 0.8306 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.1746, allocations: 0 / 0.8306 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of Templates: time 0.00395/0.1785, allocations: 1.205 MB / 0.8318 GB, free: 8.707 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687971882995043] Failed to read output from testmodel.py, exit status != 0: 0.18572709799627773 0.20058366300000002 0.032471384 Calling exit ...