Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001251/0.001251, allocations: 101.9 kB / 19.59 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.00203/0.00203, allocations: 189.7 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.35/1.35, allocations: 225.6 MB / 251.5 MB, free: 13.03 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.002432/0.002432, allocations: 284.5 kB / 307 MB, free: 8.359 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.17/1.17, allocations: 180.8 MB / 0.5304 GB, free: 14.51 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 104.5 kB / 0.7311 GB, free: 38.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1595, allocations: 94.21 MB / 0.8231 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002381/0.1619, allocations: 1.282 MB / 0.8244 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1629, allocations: 0.6164 MB / 0.825 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.1629, allocations: 0 / 0.825 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1629, allocations: 0 / 0.825 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.163, allocations: 7.922 kB / 0.825 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1635, allocations: 146.3 kB / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.1636, allocations: 23.92 kB / 0.8251 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.1636, allocations: 7.984 kB / 0.8251 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.1637, allocations: 8 kB / 0.8251 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.1637, allocations: 7.938 kB / 0.8252 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1637, allocations: 4 kB / 0.8252 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.1642, allocations: 279.5 kB / 0.8254 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1642, allocations: 4 kB / 0.8254 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1642, allocations: 11.88 kB / 0.8254 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1645, allocations: 139.5 kB / 0.8256 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1645, allocations: 4 kB / 0.8256 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1645, allocations: 0 / 0.8256 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1645, allocations: 4 kB / 0.8256 GB, free: 15.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004101/0.1649, allocations: 289.9 kB / 0.8259 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1649, allocations: 8.031 kB / 0.8259 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.165, allocations: 4.938 kB / 0.8259 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1651, allocations: 110.5 kB / 0.826 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1651, allocations: 384 / 0.826 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1651, allocations: 8.312 kB / 0.826 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1652, allocations: 63.95 kB / 0.826 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.1652, allocations: 8.188 kB / 0.8261 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1653, allocations: 3.938 kB / 0.8261 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1653, allocations: 0 / 0.8261 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.1653, allocations: 7.984 kB / 0.8261 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1655, allocations: 132.8 kB / 0.8262 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1657, allocations: 42.55 kB / 0.8262 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.1657, allocations: 20.8 kB / 0.8262 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1657, allocations: 4 kB / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1658, allocations: 38.64 kB / 0.8263 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1658, allocations: 0 / 0.8263 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006072/0.1664, allocations: 233.4 kB / 0.8265 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1664, allocations: 51.41 kB / 0.8266 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.1665, allocations: 105.8 kB / 0.8267 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1665, allocations: 25.7 kB / 0.8267 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.1665, allocations: 84.14 kB / 0.8268 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1666, allocations: 19.86 kB / 0.8268 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.1666, allocations: 17.72 kB / 0.8268 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.1667, allocations: 314.8 kB / 0.8271 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.1668, allocations: 12 kB / 0.8271 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.1668, allocations: 12 kB / 0.8271 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/0.1669, allocations: 40.91 kB / 0.8272 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1669, allocations: 4 kB / 0.8272 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.167, allocations: 73.7 kB / 0.8272 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.167, allocations: 11.94 kB / 0.8273 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.167, allocations: 0 / 0.8273 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.167, allocations: 0 / 0.8273 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.167, allocations: 8 kB / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1671, allocations: 0 / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1671, allocations: 4 kB / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1671, allocations: 0 / 0.8273 GB, free: 13.55 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 (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 8.229e-05/0.1672, allocations: 121.8 kB / 0.8274 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1672, allocations: 7.938 kB / 0.8274 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1673, allocations: 65.75 kB / 0.8274 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1673, allocations: 4 kB / 0.8275 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1673, allocations: 0 / 0.8275 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1673, allocations: 0 / 0.8275 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.1677, allocations: 282.4 kB / 0.8277 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1677, allocations: 3.984 kB / 0.8277 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1677, allocations: 16 kB / 0.8277 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1677, allocations: 0 / 0.8277 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1677, allocations: 4.031 kB / 0.8277 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1677, allocations: 0 / 0.8277 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1677, allocations: 7.938 kB / 0.8278 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.1679, allocations: 184.2 kB / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.1679, allocations: 7.969 kB / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.168, allocations: 0 / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.168, allocations: 192 / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.1681, allocations: 16.05 kB / 0.828 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1681, allocations: 4 kB / 0.828 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.1681, allocations: 79.28 kB / 0.828 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1681, allocations: 0 / 0.828 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002469/0.1684, allocations: 27.86 kB / 0.8281 GB, free: 12.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001843/0.1685, allocations: 127.8 kB / 0.8282 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1686, allocations: 31.98 kB / 0.8282 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1686, allocations: 4 kB / 0.8282 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.1687, allocations: 11.94 kB / 0.8282 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1689, allocations: 11.94 kB / 0.8282 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1693, allocations: 188.8 kB / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1696, allocations: 0.6807 MB / 0.8291 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1696, allocations: 4 kB / 0.8291 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.1697, allocations: 11.44 kB / 0.8291 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1697, allocations: 0 / 0.8291 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.003461/0.1731, allocations: 0.7036 MB / 0.8298 GB, free: 10.86 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.677389521035366] Failed to read output from testmodel.py, exit status != 0: 0.18067952001001686 0.20021618299999994 0.031981463 Calling exit ...