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.0006722/0.0006722, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007953/0.001467, 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.000668/0.000668, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007829/0.001451, 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.9488/0.9488, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08911/1.038, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001331/0.001331, allocations: 237.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002483, allocations: 470.9 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.7087/0.7087, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07118/0.7799, allocations: 42.39 MB / 426.5 MB, free: 5.953 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.403e-06/1.403e-06, allocations: 0 / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.313e-05, allocations: 2.312 kB / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002508/0.002531, allocations: 1.368 MB / 429.2 MB, free: 3.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.003513, allocations: 0.5952 MB / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.003533, allocations: 0 / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.003545, allocations: 3.984 kB / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.00357, allocations: 0 / 429.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.004052, allocations: 143.2 kB / 429.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.004126, allocations: 27.88 kB / 429.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.004162, allocations: 3.984 kB / 429.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.004233, allocations: 8 kB / 429.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.004286, allocations: 11.98 kB / 430 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.0043, allocations: 0 / 430 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.004705, allocations: 283.3 kB / 430.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.004717, allocations: 4 kB / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.004734, allocations: 7.938 kB / 430.2 MB, free: 2.164 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.004973, allocations: 123.6 kB / 430.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.815e-05/0.004991, allocations: 0 / 430.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004992, allocations: 4 kB / 430.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.005009, allocations: 0 / 430.4 MB, free: 2.039 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.0004314/0.005441, allocations: 280.2 kB / 430.6 MB, free: 1.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005475, allocations: 15.92 kB / 430.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.005504, allocations: 4.938 kB / 430.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.812e-05/0.005592, allocations: 113.8 kB / 430.8 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.005601, allocations: 384 / 430.8 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.005623, allocations: 8.359 kB / 430.8 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.005707, allocations: 59.95 kB / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005714, allocations: 192 / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005722, allocations: 4.375 kB / 430.8 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005728, allocations: 8.312 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.005753, allocations: 7.938 kB / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.253e-05/0.005845, allocations: 61.05 kB / 430.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.006003, allocations: 34.59 kB / 431 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.006024, allocations: 12.86 kB / 431 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.006045, allocations: 8.078 kB / 431 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.006066, allocations: 30.56 kB / 431 MB, free: 1.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.006067, allocations: 0 / 431 MB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005567/0.006624, allocations: 233.1 kB / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.006655, allocations: 55.41 kB / 431.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.006706, allocations: 102.7 kB / 431.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006717, allocations: 29.7 kB / 431.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.00674, allocations: 84.14 kB / 431.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.006767, allocations: 23.78 kB / 431.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.006796, allocations: 21.7 kB / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.006878, allocations: 314.8 kB / 431.8 MB, free: 384 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.006891, allocations: 11.98 kB / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.006902, allocations: 4 kB / 431.9 MB, free: 368 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.007001, allocations: 32.77 kB / 431.9 MB, free: 332 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007002, allocations: 0 / 431.9 MB, free: 332 kB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.524e-05/0.007067, allocations: 45.84 kB / 431.9 MB, free: 280 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.007078, allocations: 4 kB / 431.9 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007083, allocations: 0 / 431.9 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007093, allocations: 4 kB / 431.9 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/0.007141, allocations: 12 kB / 432 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007147, allocations: 8.047 kB / 432 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.007163, allocations: 7.938 kB / 432 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.007167, allocations: 0 / 432 MB, free: 244 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 5.475e-05/0.007222, allocations: 117.7 kB / 432.1 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.007232, allocations: 8 kB / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/0.007321, allocations: 61.86 kB / 432.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.007323, allocations: 0 / 432.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007325, allocations: 0 / 432.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007328, allocations: 0 / 432.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1938/0.2012, allocations: 207.8 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2012, allocations: 1.094 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.2012, allocations: 13.19 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.2012, allocations: 7.859 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2012, allocations: 1.781 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2013, allocations: 1.766 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2013, allocations: 4.781 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2013, allocations: 1.844 kB / 432.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.2014, allocations: 159.2 kB / 432.5 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.2014, allocations: 5.625 kB / 432.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.2014, allocations: 1.406 kB / 432.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.2014, allocations: 14.53 kB / 432.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2015, allocations: 1.406 kB / 432.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.244e-05/0.2015, allocations: 11.11 kB / 432.6 MB, free: 2.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2015, allocations: 0 / 432.6 MB, free: 2.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.2016, allocations: 30.39 kB / 432.6 MB, free: 2.184 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.0001786/0.2018, allocations: 116.2 kB / 432.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.2019, allocations: 28.89 kB / 432.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2019, allocations: 4.938 kB / 432.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.2019, allocations: 18.44 kB / 432.8 MB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.202, allocations: 7.75 kB / 432.8 MB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.2029, allocations: 159.8 kB / 432.9 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.469e-05/0.2029, allocations: 60.09 kB / 433 MB, free: 1.918 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.2029, allocations: 2.969 kB / 433 MB, free: 1.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.203, allocations: 59.2 kB / 433.1 MB, free: 1.875 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.203, allocations: 0 / 433.1 MB, free: 1.875 MB / 410.7 MB Notification: Performance of Templates: time 0.002619/0.2056, allocations: 0.8816 MB / 433.9 MB, free: 1.871 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.4389804573729634]