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.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.0006987/0.0006987, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001645, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009883/0.0009883, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.002001, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9525/0.9525, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.06, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001338/0.001338, allocations: 235.6 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.002479, allocations: 467.3 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.7106/0.7106, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07455/0.7851, allocations: 42.4 MB / 426.5 MB, free: 5.938 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 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.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_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 3.226e-06/3.226e-06, allocations: 3.984 kB / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.762e-05, allocations: 6.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003249/0.003277, allocations: 1.564 MB / 429.4 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004448, allocations: 0.6148 MB / 430 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.004487, allocations: 0 / 430 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.004523, allocations: 3.938 kB / 430 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.004567, allocations: 11.88 kB / 430 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.005221, allocations: 155.2 kB / 430.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.005324, allocations: 55.78 kB / 430.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.00537, allocations: 4 kB / 430.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005487, allocations: 39.89 kB / 430.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.005538, allocations: 15.97 kB / 430.3 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.005556, allocations: 4 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.006174, allocations: 275.4 kB / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.006203, allocations: 11.94 kB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.006235, allocations: 12 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.006574, allocations: 151.5 kB / 430.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.947e-05/0.006593, allocations: 0 / 430.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006595, allocations: 4 kB / 430.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.006615, allocations: 4 kB / 430.7 MB, free: 1.688 MB / 410.7 MB 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.0005976/0.007212, allocations: 320 kB / 431 MB, free: 1.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.00725, allocations: 11.98 kB / 431 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.007292, allocations: 8.938 kB / 431 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.007391, allocations: 121.6 kB / 431.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.007427, allocations: 12.38 kB / 431.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.007453, allocations: 8.359 kB / 431.2 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.007664, allocations: 130.3 kB / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.007675, allocations: 192 / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.007687, allocations: 8.359 kB / 431.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.007693, allocations: 384 / 431.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.007751, allocations: 23.86 kB / 431.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.008168, allocations: 200.2 kB / 431.5 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.008313, allocations: 54.53 kB / 431.6 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.008343, allocations: 20.8 kB / 431.6 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.008365, allocations: 0 / 431.6 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.008394, allocations: 38.5 kB / 431.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.008395, allocations: 4 kB / 431.6 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001249/0.009645, allocations: 447.5 kB / 432.1 MB, free: 148 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.009826, allocations: 55.41 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1933/0.2031, allocations: 105.8 kB / 432.2 MB, free: 2.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2031, allocations: 27.45 kB / 432.3 MB, free: 2.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.2031, allocations: 90.08 kB / 432.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2032, allocations: 43.05 kB / 432.4 MB, free: 2.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.2032, allocations: 28.11 kB / 432.4 MB, free: 2.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.2033, allocations: 318.6 kB / 432.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.2033, allocations: 12.86 kB / 432.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.2033, allocations: 14.72 kB / 432.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.2034, allocations: 38.25 kB / 432.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2034, allocations: 1.094 kB / 432.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.847e-05/0.2035, allocations: 70.47 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2035, allocations: 5.844 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2035, allocations: 1.438 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2035, allocations: 5.969 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2036, allocations: 30.05 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.2036, allocations: 1.125 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.2037, allocations: 3.969 kB / 432.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2037, allocations: 4.594 kB / 432.9 MB, free: 1.922 MB / 410.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 (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 5.754e-05/0.2037, allocations: 116 kB / 433 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2038, allocations: 8.984 kB / 433 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.2039, allocations: 80.09 kB / 433.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2039, allocations: 5.281 kB / 433.1 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2039, allocations: 0.75 kB / 433.1 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2039, allocations: 3.172 kB / 433.1 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2041, allocations: 232.5 kB / 433.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2041, allocations: 5.312 kB / 433.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.2042, allocations: 26.62 kB / 433.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.2042, allocations: 7.891 kB / 433.4 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2042, allocations: 3.938 kB / 433.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2042, allocations: 7.625 kB / 433.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2042, allocations: 3.562 kB / 433.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2042, allocations: 1.812 kB / 433.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2044, allocations: 182.7 kB / 433.6 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2044, allocations: 8.812 kB / 433.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.2044, allocations: 4.938 kB / 433.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.2044, allocations: 5.797 kB / 433.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2044, allocations: 5.312 kB / 433.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.056e-05/0.2045, allocations: 11.94 kB / 433.6 MB, free: 1.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2045, allocations: 1.719 kB / 433.6 MB, free: 1.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.2046, allocations: 46.06 kB / 433.7 MB, free: 1.445 MB / 410.7 MB 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.0001806/0.2048, allocations: 133 kB / 433.8 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.2049, allocations: 52.52 kB / 433.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2049, allocations: 0.5625 kB / 433.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.205, allocations: 35 kB / 433.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.2051, allocations: 18.97 kB / 433.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.2061, allocations: 213.8 kB / 434.1 MB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.2061, allocations: 65.22 kB / 434.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.2062, allocations: 14.58 kB / 434.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.2062, allocations: 68.11 kB / 434.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2062, allocations: 1.047 kB / 434.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of Templates: time 0.003756/0.21, allocations: 1.443 MB / 435.7 MB, free: 1.098 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.461858509108424]