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_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.0006752/0.0006752, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009335/0.001609, 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.0007068/0.0007068, allocations: 145.2 kB / 11.2 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001788, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.125, allocations: 53.64 MB / 243.2 MB, free: 15.59 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.927/1.927, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4966/2.423, allocations: 127.1 MB / 0.7431 GB, free: 4.617 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7444 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.118e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001985/0.002006, allocations: 1.395 MB / 0.7458 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.002729, allocations: 0.5877 MB / 0.7463 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.002746, allocations: 0 / 0.7463 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.955e-06/0.002754, allocations: 3.938 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.206e-05/0.002776, allocations: 1.312 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.003144, allocations: 147.1 kB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.003201, allocations: 23.2 kB / 0.7465 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.003232, allocations: 3.984 kB / 0.7465 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.003284, allocations: 11.22 kB / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.00335, allocations: 15.92 kB / 0.7465 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.003362, allocations: 0 / 0.7465 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.003833, allocations: 335.2 kB / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.003844, allocations: 0 / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.003859, allocations: 4 kB / 0.7469 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.004076, allocations: 131.6 kB / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.004087, allocations: 0 / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004088, allocations: 0 / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.0041, allocations: 4.562 kB / 0.747 GB, free: 0.7266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003403/0.004441, allocations: 281 kB / 0.7473 GB, free: 436 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.004469, allocations: 8.031 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.004496, allocations: 1.625 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.516e-05/0.004571, allocations: 109.8 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004582, allocations: 8.891 kB / 0.7474 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.004602, allocations: 4.375 kB / 0.7474 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.004677, allocations: 68.44 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004684, allocations: 1.688 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.004689, allocations: 384 / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004695, allocations: 4.375 kB / 0.7475 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.004714, allocations: 7.938 kB / 0.7475 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.257e-05/0.004796, allocations: 62.02 kB / 0.7475 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.004922, allocations: 34.61 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.004939, allocations: 13.53 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.004955, allocations: 4.531 kB / 0.7476 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.004991, allocations: 38.66 kB / 0.7476 GB, free: 16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004992, allocations: 0.6562 kB / 0.7476 GB, free: 16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000465/0.005457, allocations: 230.9 kB / 0.7478 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.005479, allocations: 51.41 kB / 0.7479 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.005528, allocations: 102.7 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005538, allocations: 30.48 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.005561, allocations: 84.14 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.005586, allocations: 17.16 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.005619, allocations: 25.7 kB / 0.7481 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.00569, allocations: 318.8 kB / 0.7484 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.0057, allocations: 4 kB / 0.7484 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.005711, allocations: 12.41 kB / 0.7485 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.005744, allocations: 25.86 kB / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.005745, allocations: 0 / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.394e-05/0.005809, allocations: 45.69 kB / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.00582, allocations: 9.5 kB / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005824, allocations: 0 / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.005831, allocations: 0 / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.005879, allocations: 19.98 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005882, allocations: 4.75 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.005897, allocations: 7.938 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005901, allocations: 1.625 kB / 0.7486 GB, free: 14.95 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 (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 4.742e-05/0.005948, allocations: 109.8 kB / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.005958, allocations: 8.516 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.006038, allocations: 57.73 kB / 0.7487 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.006039, allocations: 2.75 kB / 0.7487 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.00604, allocations: 4 kB / 0.7487 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006043, allocations: 0 / 0.7487 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.009259, allocations: 215.6 kB / 0.7489 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.009261, allocations: 0 / 0.7489 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.009316, allocations: 11.98 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.009321, allocations: 4 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009326, allocations: 3.438 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009329, allocations: 3.938 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00933, allocations: 0 / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.009443, allocations: 164.3 kB / 0.7491 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.009458, allocations: 8 kB / 0.7491 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.009469, allocations: 4 kB / 0.7491 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.009521, allocations: 4 kB / 0.7491 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.009535, allocations: 7.922 kB / 0.7491 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.00954, allocations: 1.594 kB / 0.7491 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.232e-05/0.009552, allocations: 8.859 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009552, allocations: 0 / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002229/0.009775, allocations: 47.8 kB / 0.7492 GB, free: 14.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001994/0.009975, allocations: 136.7 kB / 0.7493 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.01005, allocations: 30.58 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01005, allocations: 0 / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.01007, allocations: 24.78 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.0102, allocations: 10.05 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.01065, allocations: 192.4 kB / 0.7496 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.01068, allocations: 55.36 kB / 0.7496 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.01071, allocations: 5.125 kB / 0.7496 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.01075, allocations: 55.36 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.01075, allocations: 5.094 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.005869/0.01662, allocations: 1.089 MB / 0.7508 GB, free: 12.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.853326595388353]