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.001071/0.001071, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002615, allocations: 441.7 kB / 10.32 MB, free: 380 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.001066/0.001066, allocations: 145.2 kB / 11.2 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002538, allocations: 471.6 kB / 11.66 MB, free: 2.504 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 1.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.137, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.856/1.856, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4642/2.32, allocations: 127.1 MB / 0.7431 GB, free: 4.645 MB / 0.7136 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.483e-06/1.483e-06, allocations: 0 / 0.7444 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.725e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001997/0.002014, allocations: 1.4 MB / 0.7458 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.002807, allocations: 0.599 MB / 0.7464 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.002828, allocations: 0 / 0.7464 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.125e-06/0.002836, allocations: 0 / 0.7464 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.44e-05/0.00286, allocations: 6.016 kB / 0.7464 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.003231, allocations: 155.2 kB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.007303, allocations: 29.39 kB / 0.7465 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.007344, allocations: 7.938 kB / 0.7466 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.007397, allocations: 19.97 kB / 0.7466 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.007457, allocations: 12.83 kB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.007468, allocations: 0 / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.007901, allocations: 327.3 kB / 0.7469 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.007912, allocations: 4.688 kB / 0.7469 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.007929, allocations: 8 kB / 0.7469 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.008147, allocations: 136.3 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.00816, allocations: 4.625 kB / 0.747 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.52e-07/0.008161, allocations: 0 / 0.747 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.008173, allocations: 1.125 kB / 0.747 GB, free: 0.707 MB / 0.7136 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.0003733/0.008547, allocations: 292.2 kB / 0.7473 GB, free: 404 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.008577, allocations: 12.03 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.008609, allocations: 3.969 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.00869, allocations: 113.7 kB / 0.7474 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.008701, allocations: 4.375 kB / 0.7475 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.008729, allocations: 8.375 kB / 0.7475 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.008832, allocations: 105.6 kB / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.008842, allocations: 192 / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.008849, allocations: 384 / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.008855, allocations: 384 / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.008883, allocations: 19.86 kB / 0.7476 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.008984, allocations: 69.03 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.009075, allocations: 38.56 kB / 0.7477 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.009098, allocations: 21.09 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.00912, allocations: 0 / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.009146, allocations: 46.47 kB / 0.7477 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.009147, allocations: 0 / 0.7477 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007903/0.009937, allocations: 430.1 kB / 0.7482 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.009961, allocations: 55.39 kB / 0.7482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.01001, allocations: 111.4 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.01003, allocations: 28.7 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.01004, allocations: 80.14 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01008, allocations: 43.62 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.01011, allocations: 21.72 kB / 0.7485 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.003081/0.0132, allocations: 322.8 kB / 0.7488 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.01321, allocations: 15.94 kB / 0.7488 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.01323, allocations: 11.12 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.01328, allocations: 40.81 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01328, allocations: 2.75 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.064e-05/0.01336, allocations: 65.67 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01338, allocations: 11.12 kB / 0.7489 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01338, allocations: 0 / 0.7489 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.01339, allocations: 4 kB / 0.7489 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.01347, allocations: 27.92 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01347, allocations: 7.875 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.01349, allocations: 5.969 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.0135, allocations: 4 kB / 0.749 GB, free: 14.53 MB / 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 5.028e-05/0.01355, allocations: 109.8 kB / 0.7491 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.01356, allocations: 11.98 kB / 0.7491 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.01367, allocations: 82.72 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.01367, allocations: 0 / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01367, allocations: 0 / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01367, allocations: 8.766 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.01388, allocations: 214.8 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01388, allocations: 4.578 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.01396, allocations: 27.88 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01397, allocations: 4.719 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01397, allocations: 4 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01397, allocations: 5.484 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01398, allocations: 3.938 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.01411, allocations: 179.5 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.01412, allocations: 5.125 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.01413, allocations: 0 / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.01419, allocations: 4 kB / 0.7496 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.0142, allocations: 12.89 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01421, allocations: 0 / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.739e-06/0.01422, allocations: 9.797 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01422, allocations: 0 / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002348/0.01445, allocations: 67.67 kB / 0.7497 GB, free: 13.74 MB / 0.7292 GB 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.0002079/0.01466, allocations: 161.5 kB / 0.7499 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.01474, allocations: 47.08 kB / 0.7499 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.01475, allocations: 5.438 kB / 0.7499 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.01477, allocations: 28.78 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.01491, allocations: 12.61 kB / 0.7499 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.01544, allocations: 225.2 kB / 0.7502 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.01547, allocations: 64.44 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.01551, allocations: 12.86 kB / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.01556, allocations: 59.38 kB / 0.7503 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01556, allocations: 0.7812 kB / 0.7503 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.008452/0.02401, allocations: 1.585 MB / 0.7518 GB, free: 11.65 MB / 0.7292 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.763765166513622]