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.0007795/0.0007795, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002147, allocations: 440 kB / 10.41 MB, free: 284 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.001004/0.001004, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002375, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.944/0.944, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08515/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.001235/0.001235, allocations: 242.3 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009945/0.002229, allocations: 475.7 kB / 244.8 MB, free: 14.07 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.7124/0.7124, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07644/0.7889, allocations: 42.4 MB / 426.7 MB, free: 5.832 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 2.886e-06/2.886e-06, allocations: 4 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.676e-05, allocations: 2.312 kB / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002343/0.00236, allocations: 1.564 MB / 429.6 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.003213, allocations: 0.6186 MB / 430.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.003242, allocations: 0 / 430.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.003266, allocations: 0 / 430.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.003292, allocations: 3.938 kB / 430.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.003724, allocations: 163.2 kB / 430.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.244e-05/0.003817, allocations: 51.84 kB / 430.5 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.003858, allocations: 7.938 kB / 430.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003962, allocations: 35.95 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.004005, allocations: 23.91 kB / 430.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004021, allocations: 4 kB / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.004434, allocations: 279.4 kB / 430.8 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.004453, allocations: 8 kB / 430.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.004479, allocations: 15.94 kB / 430.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.00474, allocations: 147.5 kB / 431 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.004751, allocations: 4 kB / 431 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004752, allocations: 0 / 431 MB, free: 1.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.004764, allocations: 0 / 431 MB, free: 1.543 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.0004808/0.005245, allocations: 324.1 kB / 431.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005281, allocations: 11.98 kB / 431.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.005327, allocations: 16.92 kB / 431.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.466e-05/0.005422, allocations: 113.7 kB / 431.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.005447, allocations: 384 / 431.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.005477, allocations: 16.38 kB / 431.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.005672, allocations: 138.2 kB / 431.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005682, allocations: 192 / 431.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.005693, allocations: 8.375 kB / 431.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005699, allocations: 384 / 431.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.005739, allocations: 15.94 kB / 431.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.006073, allocations: 212.1 kB / 431.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.006189, allocations: 50.56 kB / 431.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.006214, allocations: 20.98 kB / 431.9 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.00623, allocations: 4 kB / 431.9 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.006255, allocations: 38.5 kB / 431.9 MB, free: 496 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.006256, allocations: 4 kB / 431.9 MB, free: 492 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.1949/0.2011, allocations: 446 kB / 432.4 MB, free: 2.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2012, allocations: 54.33 kB / 432.4 MB, free: 2.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.2012, allocations: 102.6 kB / 432.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2012, allocations: 28.52 kB / 432.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.2013, allocations: 90.55 kB / 432.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.2013, allocations: 43.84 kB / 432.7 MB, free: 1.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.2013, allocations: 27.22 kB / 432.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.472e-05/0.2014, allocations: 319.6 kB / 433 MB, free: 1.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.2014, allocations: 10.75 kB / 433 MB, free: 1.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.2014, allocations: 13.36 kB / 433 MB, free: 1.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.2014, allocations: 39.75 kB / 433.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2014, allocations: 0.5938 kB / 433.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.907e-05/0.2015, allocations: 71.02 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2016, allocations: 4.75 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2016, allocations: 6.469 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2016, allocations: 1.406 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2017, allocations: 32.92 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2017, allocations: 0.7188 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.2017, allocations: 6.297 kB / 433.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2017, allocations: 4.625 kB / 433.2 MB, free: 1.609 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 6.975e-05/0.2018, allocations: 114.3 kB / 433.3 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2018, allocations: 9.109 kB / 433.3 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2019, allocations: 87.12 kB / 433.4 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2019, allocations: 1.281 kB / 433.4 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.2019, allocations: 1.875 kB / 433.4 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2019, allocations: 2.906 kB / 433.4 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2022, allocations: 228.9 kB / 433.6 MB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2022, allocations: 2.938 kB / 433.6 MB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.2022, allocations: 28.8 kB / 433.7 MB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.2022, allocations: 16.12 kB / 433.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2023, allocations: 0 / 433.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2023, allocations: 3.75 kB / 433.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2023, allocations: 0.9844 kB / 433.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2023, allocations: 2.703 kB / 433.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.2024, allocations: 186.2 kB / 433.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2024, allocations: 2.188 kB / 433.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.2025, allocations: 5.859 kB / 433.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.2025, allocations: 7.031 kB / 433.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2025, allocations: 4.344 kB / 433.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.032e-05/0.2025, allocations: 14.53 kB / 433.9 MB, free: 17.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2025, allocations: 0 / 433.9 MB, free: 17.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.2027, allocations: 53.69 kB / 434 MB, free: 17.13 MB / 426.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.0001574/0.2028, allocations: 130.2 kB / 434.1 MB, free: 17.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.2029, allocations: 52.92 kB / 434.1 MB, free: 17.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2029, allocations: 0 / 434.1 MB, free: 17.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.203, allocations: 38.38 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.2031, allocations: 73.19 kB / 434.3 MB, free: 16.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.204, allocations: 214.3 kB / 434.5 MB, free: 16.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.508e-05/0.2041, allocations: 61.83 kB / 434.5 MB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.03e-05/0.2041, allocations: 12.14 kB / 434.5 MB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.2042, allocations: 66.45 kB / 434.6 MB, free: 16.73 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.2042, allocations: 0.625 kB / 434.6 MB, free: 16.73 MB / 426.7 MB Notification: Performance of Templates: time 0.003009/0.2072, allocations: 1.456 MB / 436.1 MB, free: 16.71 MB / 426.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.3939823992550373]