Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00172/0.00172, 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.002066/0.002066, allocations: 220.4 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002884/0.002884, allocations: 76.3 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3518, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002714/0.3545, allocations: 1.29 MB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3556, allocations: 0.5371 MB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3556, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.3556, allocations: 7.938 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.3557, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.3563, allocations: 147.4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.3564, allocations: 19.92 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.3564, allocations: 8 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.3565, allocations: 11.92 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.3565, allocations: 7.984 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3565, allocations: 0 / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.357, allocations: 263.5 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.357, allocations: 8 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.357, allocations: 11.92 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3573, allocations: 135.5 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3573, allocations: 4 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3573, allocations: 3.938 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3573, allocations: 0 / 1.367 GB, free: 11.11 MB / 1.061 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.0004301/0.3578, allocations: 278 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3578, allocations: 8.031 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.3578, allocations: 8.891 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3579, allocations: 114.4 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.358, allocations: 8.375 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.358, allocations: 384 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3581, allocations: 67.95 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3581, allocations: 4.188 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3581, allocations: 3.938 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3581, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.3582, allocations: 8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3583, allocations: 113.3 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3585, allocations: 42.5 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.3586, allocations: 20.84 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3586, allocations: 3.938 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3586, allocations: 38.56 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3586, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0006324/0.3592, allocations: 237.2 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3593, allocations: 51.41 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.3594, allocations: 97.86 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3594, allocations: 29.7 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.3594, allocations: 80.14 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3595, allocations: 23.78 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.3595, allocations: 21.72 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3596, allocations: 310.8 kB / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.3597, allocations: 19.92 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.3597, allocations: 12 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.3598, allocations: 28.86 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3598, allocations: 0 / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.3599, allocations: 73.62 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3599, allocations: 8 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3599, allocations: 3.938 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3599, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.36, allocations: 15.92 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.36, allocations: 0 / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.36, allocations: 4 kB / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.36, allocations: 0 / 1.369 GB, free: 9.199 MB / 1.061 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 9.965e-05/0.3601, allocations: 117.8 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3601, allocations: 3.938 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.3602, allocations: 73.67 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3603, allocations: 4 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3603, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3603, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3606, allocations: 255.3 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3606, allocations: 11.92 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.3606, allocations: 12 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3606, allocations: 0 / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3606, allocations: 3.969 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3606, allocations: 4 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3606, allocations: 0 / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.3608, allocations: 184.3 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.3609, allocations: 11.97 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3609, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3609, allocations: 4 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.361, allocations: 3.984 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.361, allocations: 4 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.361, allocations: 79.8 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.361, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002518/0.3613, allocations: 27.98 kB / 1.369 GB, free: 8.328 MB / 1.061 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.0001871/0.3615, allocations: 123 kB / 1.37 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3616, allocations: 36.2 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3616, allocations: 0 / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.3616, allocations: 15.94 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3618, allocations: 7.938 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3623, allocations: 227.5 kB / 1.37 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.07e-05/0.3623, allocations: 67.28 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.3623, allocations: 11.44 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3623, allocations: 0 / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of Templates: time 0.0024/0.3647, allocations: 0.8094 MB / 1.371 GB, free: 6.992 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.381067380774766] Failed to read output from testmodel.py, exit status != 0: 0.3743884009309113 0.38726655800000004 0.026936282000000002 Calling exit ...