Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0006799/0.0006799, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009065/0.001586, 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.0006904/0.0006904, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008552/0.001546, 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.9705/0.9705, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0865/1.057, allocations: 53.66 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.001968/0.001968, allocations: 245 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.003508, allocations: 463.5 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.7666/0.7666, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06885/0.8354, allocations: 42.41 MB / 426.5 MB, free: 5.949 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.222e-05, allocations: 2.312 kB / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001741/0.001763, allocations: 1.372 MB / 429.2 MB, free: 3.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.002389, allocations: 0.5953 MB / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.002408, allocations: 0 / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.002418, allocations: 3.938 kB / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.002441, allocations: 3.984 kB / 429.8 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.002767, allocations: 151.2 kB / 429.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.002826, allocations: 31.84 kB / 429.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.002861, allocations: 4 kB / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.002911, allocations: 15.98 kB / 430 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.00297, allocations: 7.984 kB / 430 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002983, allocations: 7.938 kB / 430 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.003285, allocations: 275.5 kB / 430.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.003297, allocations: 7.938 kB / 430.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.003312, allocations: 11.94 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003493, allocations: 135.6 kB / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.003508, allocations: 0 / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003509, allocations: 0 / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.003524, allocations: 4 kB / 430.4 MB, free: 2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000332/0.003856, allocations: 288.2 kB / 430.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.003882, allocations: 8.031 kB / 430.7 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.003908, allocations: 8.875 kB / 430.7 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.003984, allocations: 109.7 kB / 430.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003994, allocations: 4.375 kB / 430.8 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.004013, allocations: 4.375 kB / 430.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.00411, allocations: 101.6 kB / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.004118, allocations: 192 / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.004126, allocations: 4.359 kB / 430.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004132, allocations: 4.375 kB / 430.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.004159, allocations: 15.92 kB / 430.9 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.955e-05/0.004249, allocations: 72.98 kB / 431 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.004318, allocations: 46.5 kB / 431.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.004336, allocations: 17.08 kB / 431.1 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.004354, allocations: 4 kB / 431.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.004375, allocations: 34.55 kB / 431.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.004376, allocations: 4 kB / 431.1 MB, free: 1.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007502/0.005126, allocations: 447.5 kB / 431.6 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.00515, allocations: 51.41 kB / 431.6 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.005199, allocations: 106.7 kB / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005209, allocations: 25.7 kB / 431.7 MB, free: 492 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.005228, allocations: 84.14 kB / 431.8 MB, free: 404 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.005257, allocations: 39.67 kB / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.005286, allocations: 29.7 kB / 431.9 MB, free: 328 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.00535, allocations: 314.8 kB / 432.2 MB, free: 4 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1794/0.1847, allocations: 8.328 kB / 432.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.1848, allocations: 9.406 kB / 432.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.1848, allocations: 36.52 kB / 432.2 MB, free: 2.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1848, allocations: 0 / 432.2 MB, free: 2.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.074e-05/0.1849, allocations: 70.02 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1849, allocations: 4.688 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1849, allocations: 0 / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.185, allocations: 1.156 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1851, allocations: 25.08 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1851, allocations: 4.281 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.1851, allocations: 5.75 kB / 432.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1851, allocations: 1.594 kB / 432.4 MB, free: 2.453 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.556e-05/0.1851, allocations: 115.9 kB / 432.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.1852, allocations: 8.406 kB / 432.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1853, allocations: 81.89 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1853, allocations: 0.9688 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1853, allocations: 3.75 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1853, allocations: 3.531 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1855, allocations: 230.3 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1855, allocations: 1.281 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.1856, allocations: 22.48 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-06/0.1856, allocations: 2.906 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1856, allocations: 1.125 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1856, allocations: 7.047 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1856, allocations: 3.5 kB / 432.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1856, allocations: 3.938 kB / 432.8 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1857, allocations: 183.6 kB / 433 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.1857, allocations: 4.906 kB / 433 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.1858, allocations: 5.109 kB / 433 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1858, allocations: 5.594 kB / 433 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1858, allocations: 5.281 kB / 433 MB, free: 1.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.654e-06/0.1858, allocations: 10.44 kB / 433 MB, free: 1.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 0.6562 kB / 433 MB, free: 1.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.186, allocations: 44.91 kB / 433.1 MB, free: 1.984 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001561/0.1861, allocations: 129 kB / 433.2 MB, free: 1.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.341e-05/0.1862, allocations: 56.62 kB / 433.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1862, allocations: 2.344 kB / 433.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.1862, allocations: 29.92 kB / 433.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.1863, allocations: 12.84 kB / 433.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.1871, allocations: 182.8 kB / 433.5 MB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.302e-05/0.1872, allocations: 61.22 kB / 433.5 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1872, allocations: 17.97 kB / 433.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1872, allocations: 60.23 kB / 433.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1872, allocations: 0.6562 kB / 433.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of Templates: time 0.002909/0.1902, allocations: 1.22 MB / 434.8 MB, free: 1.664 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.403098695911467]