Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001492/0.001492, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001663/0.001663, allocations: 220.4 kB / 23.01 MB, free: 4.609 MB / 14.72 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.887/2.887, allocations: 0.49 GB / 0.7958 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.73 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2799, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002351/0.2823, allocations: 1.321 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2833, allocations: 0.6111 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2833, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.2834, allocations: 7.938 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.2834, allocations: 7.922 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.2839, allocations: 144.5 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.284, allocations: 31.86 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.284, allocations: 8 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.284, allocations: 11.98 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.2841, allocations: 15.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.2841, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.2846, allocations: 347.3 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2846, allocations: 4 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.2846, allocations: 11.94 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.2849, allocations: 155.5 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2849, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2849, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2849, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 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.0003844/0.2853, allocations: 305.8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2853, allocations: 12.03 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2853, allocations: 4.938 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.2854, allocations: 106.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2854, allocations: 384 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.2855, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2856, allocations: 50.23 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2856, allocations: 192 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2856, allocations: 7.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2856, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.2856, allocations: 23.92 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2858, allocations: 140.6 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.2859, allocations: 54.56 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.286, allocations: 29.08 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.286, allocations: 3.984 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.286, allocations: 34.56 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.286, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001011/0.287, allocations: 443.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2871, allocations: 55.41 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.2871, allocations: 93.86 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2872, allocations: 29.83 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.2872, allocations: 92.11 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2872, allocations: 39.59 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.2873, allocations: 29.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2874, allocations: 314.8 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.2875, allocations: 23.98 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.2875, allocations: 19.98 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.2876, allocations: 56.11 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.2876, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001556/0.2878, allocations: 117.5 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2878, allocations: 5.656 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2878, allocations: 3.938 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2878, allocations: 0 / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.2879, allocations: 20 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2879, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.2879, allocations: 7.922 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2879, allocations: 8 kB / 1.332 GB, free: 12.46 MB / 1.029 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 8.723e-05/0.288, allocations: 114.4 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.288, allocations: 15.88 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.2882, allocations: 101.9 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2882, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2882, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2882, allocations: 3.984 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.2886, allocations: 325.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2886, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2887, allocations: 23.98 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2887, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2887, allocations: 8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2887, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2887, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.289, allocations: 227.3 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.289, allocations: 3.953 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.289, allocations: 0 / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.2891, allocations: 8.031 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.2891, allocations: 7.984 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2891, allocations: 4.062 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.2891, allocations: 79.28 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2891, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002571/0.2894, allocations: 39.86 kB / 1.333 GB, free: 11.43 MB / 1.029 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.000187/0.2896, allocations: 131.1 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2897, allocations: 63.84 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2897, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.2898, allocations: 32.08 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.29, allocations: 8.609 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.2905, allocations: 318.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2908, allocations: 0.6855 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.2908, allocations: 15.44 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.2908, allocations: 7.938 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Templates: time 0.002714/0.2936, allocations: 1.128 MB / 1.335 GB, free: 8.988 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.932137397991028] Failed to read output from testmodel.py, exit status != 0: 0.3010185220045969 0.314845821 0.027207290000000002 Calling exit ...