Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.001163/0.001163, allocations: 88.2 kB / 21.68 MB, free: 2.824 MB / 18.57 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.001305/0.001305, allocations: 167 kB / 25.12 MB, free: 9.297 MB / 18.57 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.9383/0.9383, allocations: 177.2 MB / 205.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.86/1.86, allocations: 389.9 MB / 0.6367 GB, free: 12.03 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7766 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.562e-05, allocations: 5.5 kB / 0.7766 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001697/0.001713, allocations: 1.4 MB / 0.778 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006932/0.002406, allocations: 0.5956 MB / 0.7786 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.00243, allocations: 0 / 0.7786 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.002447, allocations: 3.938 kB / 0.7786 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.002485, allocations: 2.359 kB / 0.7786 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.002873, allocations: 158.7 kB / 0.7787 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.002925, allocations: 34.95 kB / 0.7788 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.002957, allocations: 3.984 kB / 0.7788 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.002994, allocations: 15.98 kB / 0.7788 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.00304, allocations: 7.984 kB / 0.7788 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.003051, allocations: 4 kB / 0.7788 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.003382, allocations: 331.2 kB / 0.7791 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.003395, allocations: 7.984 kB / 0.7791 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.00341, allocations: 4 kB / 0.7791 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.00359, allocations: 183 kB / 0.7793 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003592, allocations: 0 / 0.7793 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003593, allocations: 0 / 0.7793 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.003596, allocations: 0 / 0.7793 GB, free: 2.281 MB / 0.7292 GB 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.0002433/0.003839, allocations: 268.6 kB / 0.7795 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.003867, allocations: 8.031 kB / 0.7795 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.003889, allocations: 4.938 kB / 0.7796 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.513e-05/0.003954, allocations: 113.7 kB / 0.7797 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.003962, allocations: 384 / 0.7797 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.003984, allocations: 8.875 kB / 0.7797 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.004065, allocations: 97.64 kB / 0.7798 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004072, allocations: 0.9375 kB / 0.7798 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.00408, allocations: 4.375 kB / 0.7798 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.004083, allocations: 5.5 kB / 0.7798 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.004106, allocations: 15.92 kB / 0.7798 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.386e-05/0.00418, allocations: 65.03 kB / 0.7799 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.004245, allocations: 47.31 kB / 0.7799 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.004265, allocations: 26.48 kB / 0.7799 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.004279, allocations: 0 / 0.7799 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.004298, allocations: 38.55 kB / 0.78 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.004298, allocations: 0 / 0.78 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000652/0.00495, allocations: 438.4 kB / 0.7804 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.004969, allocations: 59.39 kB / 0.7804 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.005013, allocations: 99.97 kB / 0.7805 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005024, allocations: 33.7 kB / 0.7806 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.005042, allocations: 81.73 kB / 0.7806 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.005071, allocations: 39.67 kB / 0.7807 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.005099, allocations: 25.7 kB / 0.7807 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.00516, allocations: 318.8 kB / 0.781 GB, free: 328 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.005173, allocations: 8.75 kB / 0.781 GB, free: 320 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.005186, allocations: 8 kB / 0.781 GB, free: 312 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.005225, allocations: 41.78 kB / 0.7811 GB, free: 268 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.005226, allocations: 0 / 0.7811 GB, free: 268 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.442e-05/0.00529, allocations: 76.11 kB / 0.7811 GB, free: 188 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.0053, allocations: 5 kB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005304, allocations: 0 / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.00531, allocations: 4 kB / 0.7811 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.005377, allocations: 24.92 kB / 0.7812 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005381, allocations: 0 / 0.7812 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.005395, allocations: 5.344 kB / 0.7812 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.005401, allocations: 4 kB / 0.7812 GB, free: 148 kB / 0.7292 GB 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 4.521e-05/0.005446, allocations: 113.8 kB / 0.7813 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005456, allocations: 13.11 kB / 0.7813 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.005555, allocations: 77.8 kB / 0.7814 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005558, allocations: 0 / 0.7814 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005559, allocations: 5.047 kB / 0.7814 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.005567, allocations: 7.891 kB / 0.7814 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.005577, allocations: 4 kB / 0.7814 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.0056, allocations: 8.438 kB / 0.7814 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.005612, allocations: 8.578 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.347e-05/0.005706, allocations: 142.3 kB / 0.7815 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001302/0.005836, allocations: 262.7 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.876e-05/0.005865, allocations: 28.81 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.313e-06/0.005872, allocations: 9.672 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of Backend: time 1.11e-07/0.005872, allocations: 0 / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.006168, allocations: 165.4 kB / 0.782 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0004996/0.006668, allocations: 0.6983 MB / 0.7827 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.003009/0.009677, allocations: 1.842 MB / 0.7845 GB, free: 12.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.636617933399975]