Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.000711/0.000711, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001839, allocations: 449.7 kB / 10.37 MB, free: 328 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.0011/0.0011, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002478, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8984/0.8984, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08304/0.9814, allocations: 53.65 MB / 243.3 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.867/1.867, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4617/2.329, allocations: 127.1 MB / 0.7432 GB, free: 4.59 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.163e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001446/0.001458, allocations: 1.397 MB / 0.7459 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.00202, allocations: 0.5954 MB / 0.7464 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.002035, allocations: 0 / 0.7464 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.983e-06/0.002042, allocations: 3.938 kB / 0.7464 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.004e-05/0.002062, allocations: 6.406 kB / 0.7465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.002331, allocations: 142.6 kB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.002388, allocations: 26.66 kB / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.96e-05/0.002418, allocations: 0 / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.002474, allocations: 16.64 kB / 0.7466 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.002521, allocations: 13.11 kB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.002531, allocations: 0 / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.002805, allocations: 255.4 kB / 0.7469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.002817, allocations: 8.844 kB / 0.7469 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.00283, allocations: 4 kB / 0.7469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.003008, allocations: 134.4 kB / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.003022, allocations: 0 / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.065e-06/0.003025, allocations: 0 / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.003043, allocations: 0 / 0.747 GB, free: 0.7383 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.0003946/0.003438, allocations: 272.3 kB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.558e-05/0.003463, allocations: 11.97 kB / 0.7473 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.00349, allocations: 8.922 kB / 0.7473 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.003562, allocations: 113.7 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.00357, allocations: 2.812 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.003588, allocations: 8.359 kB / 0.7474 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.003661, allocations: 63.95 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003667, allocations: 192 / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.003673, allocations: 384 / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003678, allocations: 384 / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.0037, allocations: 12.95 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.733e-05/0.003777, allocations: 61.05 kB / 0.7476 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.003903, allocations: 39.86 kB / 0.7476 GB, free: 76 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.003919, allocations: 12.84 kB / 0.7476 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.003936, allocations: 4 kB / 0.7476 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.003953, allocations: 31.19 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.003954, allocations: 0 / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004142/0.004368, allocations: 238.6 kB / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.004392, allocations: 55.41 kB / 0.7479 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.004436, allocations: 107.2 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.004445, allocations: 26.3 kB / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/0.004463, allocations: 80.14 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.004486, allocations: 25.3 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.004511, allocations: 25.69 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.004572, allocations: 318.7 kB / 0.7485 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.00458, allocations: 4 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.004588, allocations: 9.125 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.004615, allocations: 24.83 kB / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.004615, allocations: 0 / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.454e-05/0.00466, allocations: 50.53 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.004669, allocations: 4 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004673, allocations: 4.719 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.004681, allocations: 3.984 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.004714, allocations: 12.75 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004717, allocations: 0 / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.004727, allocations: 9.375 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.004731, allocations: 4 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 3.83e-05/0.004769, allocations: 105.8 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.004776, allocations: 9.422 kB / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.468e-05/0.00484, allocations: 61.75 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.004841, allocations: 0 / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.004842, allocations: 0 / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.004844, allocations: 0.6562 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.004995, allocations: 212.1 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.004997, allocations: 3.984 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.005032, allocations: 13.72 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.005043, allocations: 4 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005044, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.005048, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.005051, allocations: 8.734 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005052, allocations: 240 / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.005141, allocations: 161.1 kB / 0.7492 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.005149, allocations: 0 / 0.7492 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.005183, allocations: 10.69 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.005194, allocations: 4.125 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.005198, allocations: 8 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.336e-06/0.005206, allocations: 13.34 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005207, allocations: 0 / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001387/0.005345, allocations: 31.88 kB / 0.7492 GB, free: 14.26 MB / 0.7292 GB 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.0001328/0.005478, allocations: 130.9 kB / 0.7493 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.909e-05/0.005537, allocations: 36.75 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.00554, allocations: 4 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.005555, allocations: 16.86 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.703e-05/0.005652, allocations: 4 kB / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.006455, allocations: 163.5 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.627e-05/0.006481, allocations: 56.62 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.006504, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.006541, allocations: 64.67 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.006541, allocations: 0 / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.002159/0.0087, allocations: 0.9868 MB / 0.7506 GB, free: 12.84 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.603531574830413]