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.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.00107/0.00107, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00202/0.00202, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9585/0.9585, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001645/0.001645, allocations: 233.2 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7564/0.7564, allocations: 138.4 MB / 455.2 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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 1.853e-06/1.853e-06, allocations: 0 / 0.5551 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.212e-05, allocations: 2.312 kB / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002742/0.002775, allocations: 1.321 MB / 0.5564 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003865, allocations: 0.5838 MB / 0.557 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.003898, allocations: 0 / 0.557 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.003927, allocations: 3.938 kB / 0.557 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.003974, allocations: 7.922 kB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.004637, allocations: 151.2 kB / 0.5571 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.004707, allocations: 19.91 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.004755, allocations: 4 kB / 0.5571 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.004817, allocations: 15.98 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.004869, allocations: 7.938 kB / 0.5572 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004884, allocations: 0 / 0.5572 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.005321, allocations: 267.4 kB / 0.5574 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.005338, allocations: 7.984 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.005362, allocations: 4 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.005653, allocations: 159.4 kB / 0.5576 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005656, allocations: 0 / 0.5576 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005657, allocations: 0 / 0.5576 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.005663, allocations: 0 / 0.5576 GB, free: 13.61 MB / 490.7 MB 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.000494/0.006157, allocations: 400.2 kB / 0.558 GB, free: 13.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.006213, allocations: 13.94 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.006265, allocations: 0.9375 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.00666, allocations: 108.6 kB / 0.5581 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.006674, allocations: 384 / 0.5581 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.006708, allocations: 8.375 kB / 0.5581 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006834, allocations: 59.95 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.006843, allocations: 192 / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.006856, allocations: 4.375 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.006865, allocations: 384 / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.006912, allocations: 19.86 kB / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.007074, allocations: 124.6 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.00731, allocations: 55.06 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.007348, allocations: 15.69 kB / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.007372, allocations: 0 / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.007403, allocations: 37.39 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.007404, allocations: 3.938 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007292/0.008133, allocations: 241.7 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.008175, allocations: 63.33 kB / 0.5587 GB, free: 12.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.008261, allocations: 153.9 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.008275, allocations: 29.7 kB / 0.5589 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.008319, allocations: 126.9 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.008355, allocations: 23.84 kB / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008396, allocations: 23.38 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.008551, allocations: 0.4884 MB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.008576, allocations: 7.984 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.008595, allocations: 4 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.008653, allocations: 31.69 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008654, allocations: 0 / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.008766, allocations: 65.61 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.008784, allocations: 8 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.00879, allocations: 0 / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.00881, allocations: 0 / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.008874, allocations: 15.98 kB / 0.5596 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008881, allocations: 3.938 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.008901, allocations: 4 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.008907, allocations: 0 / 0.5596 GB, free: 11.26 MB / 490.7 MB 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 9.125e-05/0.008998, allocations: 156.6 kB / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.009018, allocations: 11.95 kB / 0.5598 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.009167, allocations: 73.67 kB / 0.5599 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.009169, allocations: 0 / 0.5599 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.009174, allocations: 7.938 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009178, allocations: 0 / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.009505, allocations: 309.1 kB / 0.5602 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.009507, allocations: 0 / 0.5602 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.009585, allocations: 15.98 kB / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.009589, allocations: 4 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.009601, allocations: 3.938 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.009604, allocations: 0 / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009605, allocations: 0 / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.009816, allocations: 231.7 kB / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.009846, allocations: 12.02 kB / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.009864, allocations: 11.88 kB / 0.5604 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.009943, allocations: 0 / 0.5604 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.009968, allocations: 8.5 kB / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.009975, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.01002, allocations: 131.2 kB / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01002, allocations: 0 / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.01031, allocations: 23.88 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB 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.0002047/0.01051, allocations: 119.2 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01064, allocations: 39.61 kB / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01064, allocations: 0 / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.01067, allocations: 23.69 kB / 0.5608 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01094, allocations: 4 kB / 0.5608 GB, free: 9.996 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.01164, allocations: 193.6 kB / 0.561 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.639e-05/0.01169, allocations: 59.34 kB / 0.561 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.01172, allocations: 4 kB / 0.561 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.01175, allocations: 12.5 kB / 0.561 GB, free: 9.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01175, allocations: 0 / 0.561 GB, free: 9.68 MB / 490.7 MB Notification: Performance of Templates: time 0.00347/0.01522, allocations: 0.6749 MB / 0.5617 GB, free: 9.059 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.813192361034453]