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.001311/0.001311, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00154/0.00154, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.141/3.141, allocations: 0.4893 GB / 0.7951 GB, free: 35.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.002104/0.002104, allocations: 75.75 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002829/0.3692, allocations: 1.298 MB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3704, allocations: 0.545 MB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.3704, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.3704, allocations: 3.984 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.3705, allocations: 7.984 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3711, allocations: 153.4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.3711, allocations: 23.92 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.3712, allocations: 8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.3712, allocations: 15.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3713, allocations: 11.94 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3713, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.3718, allocations: 275.5 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.3718, allocations: 4 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.3718, allocations: 19.91 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.3721, allocations: 139.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3721, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3721, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3721, allocations: 0 / 1.329 GB, free: 15.36 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.0005333/0.3726, allocations: 297.9 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3727, allocations: 12.03 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3727, allocations: 0.9375 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3729, allocations: 110.5 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3729, allocations: 4.359 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3729, allocations: 12.38 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3731, allocations: 105.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3731, allocations: 4.141 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3732, allocations: 3.938 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3732, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.3732, allocations: 19.98 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.3734, allocations: 113.3 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3736, allocations: 62.48 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.3736, allocations: 24.86 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3736, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.3737, allocations: 42.55 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3737, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001205/0.3749, allocations: 439.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3749, allocations: 55.39 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.375, allocations: 97.86 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3751, allocations: 25.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.3751, allocations: 84.27 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.3752, allocations: 51.58 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3752, allocations: 21.72 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3754, allocations: 318.8 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.3754, allocations: 23.92 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.3754, allocations: 24 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3755, allocations: 63.41 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3755, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.3757, allocations: 93.64 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3757, allocations: 11.94 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3757, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3758, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3759, allocations: 27.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3759, allocations: 7.984 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.3759, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3759, allocations: 96 / 1.331 GB, free: 13 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 9.982e-05/0.376, allocations: 118.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.376, allocations: 7.938 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.3762, allocations: 105.7 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3762, allocations: 7.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3762, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3762, allocations: 7.938 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.3767, allocations: 294.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3767, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3768, allocations: 27.94 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3768, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3768, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3768, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3768, allocations: 3.984 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3771, allocations: 215.4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.3771, allocations: 7.984 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3771, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.3772, allocations: 12.06 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.3772, allocations: 3.984 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.3772, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.3773, allocations: 83.27 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3773, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002726/0.3775, allocations: 35.88 kB / 1.332 GB, free: 12.01 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.000237/0.3778, allocations: 131 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3779, allocations: 59.91 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3779, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.378, allocations: 36.02 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3782, allocations: 15.05 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.3788, allocations: 311 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.3789, allocations: 67.34 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3789, allocations: 15.44 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3789, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.00332/0.3822, allocations: 1.15 MB / 1.333 GB, free: 10.18 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: 11.022338815033436] Failed to read output from testmodel.py, exit status != 0: 0.390964456833899 0.406323343 0.030999992 Calling exit ...