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.0006571/0.0006571, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009191/0.001576, 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.0006747/0.0006747, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009185/0.001593, 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.9306/0.9306, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.002209/0.002209, allocations: 226.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.004184, allocations: 475.6 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.6806/0.6806, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06997/0.7505, allocations: 42.41 MB / 426.7 MB, free: 5.824 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_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.944e-06/1.944e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.688e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001518/0.001535, allocations: 1.372 MB / 429.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005935/0.002128, allocations: 0.5992 MB / 430 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.002144, allocations: 0 / 430 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.951e-06/0.00215, allocations: 4 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.609e-05/0.002166, allocations: 0 / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.002449, allocations: 147.2 kB / 430.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.002499, allocations: 19.88 kB / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.66e-05/0.002525, allocations: 0 / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.00258, allocations: 15.98 kB / 430.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.002622, allocations: 7.984 kB / 430.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.002633, allocations: 0 / 430.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.002921, allocations: 283.4 kB / 430.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.002934, allocations: 4 kB / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.002947, allocations: 7.938 kB / 430.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.00311, allocations: 127.6 kB / 430.6 MB, free: 1.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.003119, allocations: 0 / 430.6 MB, free: 1.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.00312, allocations: 0 / 430.6 MB, free: 1.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.003128, allocations: 0 / 430.6 MB, free: 1.891 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002987/0.003427, allocations: 284.2 kB / 430.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.003453, allocations: 19.92 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.003477, allocations: 0.9375 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/0.003547, allocations: 109.8 kB / 431 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.003555, allocations: 4.375 kB / 431 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.003575, allocations: 8.375 kB / 431 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.083e-05/0.003646, allocations: 63.95 kB / 431.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-06/0.003651, allocations: 192 / 431.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-06/0.003656, allocations: 384 / 431.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.00366, allocations: 384 / 431.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.003679, allocations: 15.86 kB / 431.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.53e-05/0.003754, allocations: 61.05 kB / 431.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.003871, allocations: 38.59 kB / 431.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.003889, allocations: 12.86 kB / 431.2 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.003902, allocations: 4 kB / 431.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.00392, allocations: 30.56 kB / 431.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.00392, allocations: 0 / 431.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004056/0.004326, allocations: 241.2 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.004347, allocations: 51.41 kB / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.004391, allocations: 106.7 kB / 431.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.004399, allocations: 25.7 kB / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.00442, allocations: 80.14 kB / 431.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.004443, allocations: 27.8 kB / 431.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004468, allocations: 21.69 kB / 431.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.004539, allocations: 318.8 kB / 432.1 MB, free: 220 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.004548, allocations: 8 kB / 432.1 MB, free: 212 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.004556, allocations: 4 kB / 432.1 MB, free: 208 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.004584, allocations: 28.77 kB / 432.2 MB, free: 176 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.004586, allocations: 0 / 432.2 MB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.553e-05/0.004631, allocations: 49.67 kB / 432.2 MB, free: 120 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.004641, allocations: 8 kB / 432.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.004645, allocations: 0 / 432.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.004657, allocations: 0 / 432.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.004689, allocations: 16 kB / 432.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.004692, allocations: 0 / 432.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.004702, allocations: 3.938 kB / 432.2 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.004705, allocations: 0 / 432.2 MB, free: 92 kB / 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 (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 0.193/0.1977, allocations: 115.2 kB / 432.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1977, allocations: 4.109 kB / 432.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1978, allocations: 59.77 kB / 432.4 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1978, allocations: 0.5938 kB / 432.4 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1978, allocations: 0.5625 kB / 432.4 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1978, allocations: 0 / 432.4 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.198, allocations: 212.2 kB / 432.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.198, allocations: 0.8125 kB / 432.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.1981, allocations: 16.77 kB / 432.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.1981, allocations: 11.44 kB / 432.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1982, allocations: 1.344 kB / 432.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1982, allocations: 0.8125 kB / 432.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1982, allocations: 5.531 kB / 432.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1982, allocations: 1.344 kB / 432.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.1983, allocations: 158.1 kB / 432.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1983, allocations: 4.172 kB / 432.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.1983, allocations: 5.906 kB / 432.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1984, allocations: 8.734 kB / 432.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1984, allocations: 5.469 kB / 432.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.26e-05/0.1984, allocations: 9.25 kB / 432.8 MB, free: 1.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1984, allocations: 1.375 kB / 432.8 MB, free: 1.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000225/0.1986, allocations: 31.81 kB / 432.9 MB, free: 1.922 MB / 410.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.0001722/0.1988, allocations: 114.9 kB / 433 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.266e-05/0.1989, allocations: 30.58 kB / 433 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1989, allocations: 1.375 kB / 433 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.1989, allocations: 26.7 kB / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.199, allocations: 8.828 kB / 433.1 MB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2, allocations: 156.6 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.416e-05/0.2001, allocations: 58.97 kB / 433.3 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.2001, allocations: 3.938 kB / 433.3 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.2001, allocations: 59.31 kB / 433.3 MB, free: 1.609 MB / 410.7 MB Notification: Performance of SimCode: time 5.52e-07/0.2001, allocations: 0 / 433.3 MB, free: 1.609 MB / 410.7 MB Notification: Performance of Templates: time 0.002623/0.2028, allocations: 0.8967 MB / 434.2 MB, free: 1.605 MB / 410.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.2933634910732508]