Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001665/0.001665, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001948/0.001948, allocations: 225 kB / 23 MB, free: 4.914 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 3.146/3.146, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.00205/0.00205, allocations: 67.55 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003293/0.3419, allocations: 1.285 MB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3434, allocations: 0.5453 MB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.3434, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.3434, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.3435, allocations: 3.938 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3445, allocations: 158.1 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.3446, allocations: 23.86 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.3447, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.3447, allocations: 11.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.3448, allocations: 7.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3448, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.3455, allocations: 267.5 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.3455, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.3456, allocations: 11.94 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.346, allocations: 139.4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.346, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.346, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.346, allocations: 0 / 1.329 GB, free: 15.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005477/0.3465, allocations: 291.3 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3466, allocations: 8.031 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3466, allocations: 0.9375 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3467, allocations: 110.5 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3468, allocations: 384 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.3468, allocations: 4.375 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3469, allocations: 67.95 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3469, allocations: 192 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.347, allocations: 7.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.347, allocations: 3.984 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.347, allocations: 15.92 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.3473, allocations: 109.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.3475, allocations: 42.61 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.3476, allocations: 16.94 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3476, allocations: 8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3476, allocations: 30.56 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3476, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007436/0.3484, allocations: 233 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3484, allocations: 55.41 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.3485, allocations: 97.84 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3485, allocations: 25.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.3486, allocations: 80.14 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3486, allocations: 23.8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3487, allocations: 21.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.3489, allocations: 318.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.3489, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.3489, allocations: 19.98 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.988e-05/0.349, allocations: 36.84 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.349, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001214/0.3491, allocations: 65.78 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3492, allocations: 7.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3492, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3492, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.3492, allocations: 12 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3492, allocations: 8.047 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.3493, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3493, allocations: 8 kB / 1.33 GB, free: 13.5 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 (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 8.584e-05/0.3494, allocations: 110.4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3494, allocations: 7.953 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.3495, allocations: 77.62 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3495, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3496, allocations: 3.984 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3496, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3499, allocations: 259.3 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.3499, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.35, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.35, allocations: 3.984 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.35, allocations: 8.031 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.35, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.35, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3502, allocations: 176.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.3502, allocations: 15.91 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3503, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.3503, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3504, allocations: 11.98 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3504, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.3504, allocations: 79.28 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3504, allocations: 4.062 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002642/0.3507, allocations: 23.94 kB / 1.331 GB, free: 12.63 MB / 1.029 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.0001934/0.3509, allocations: 127 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.351, allocations: 31.92 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.351, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.351, allocations: 11.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3512, allocations: 12.55 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.3517, allocations: 222.3 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.3518, allocations: 67.34 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.3518, allocations: 7.438 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3518, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of Templates: time 0.002596/0.3544, allocations: 0.7967 MB / 1.332 GB, free: 11.3 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.158672941848636] Failed to read output from testmodel.py, exit status != 0: 0.3632863708771765 0.38037945300000003 0.030754341 Calling exit ...