Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001412/0.001412, 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.001695/0.001695, allocations: 213 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.505/1.505, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.806/2.806, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.002081/0.002081, allocations: 68.14 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003547/0.3439, allocations: 1.483 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3451, allocations: 0.5623 MB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3452, allocations: 4 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.3452, allocations: 3.938 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.3453, allocations: 7.922 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.346, allocations: 165.1 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3461, allocations: 59.72 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.3461, allocations: 7.984 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.3462, allocations: 19.94 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.3462, allocations: 27.89 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3463, allocations: 4 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.3467, allocations: 263.5 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.3468, allocations: 23.91 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.3468, allocations: 15.94 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.3471, allocations: 171.3 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3471, allocations: 4 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3471, allocations: 0 / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3472, allocations: 0 / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006522/0.3478, allocations: 321.8 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3478, allocations: 12.03 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.3479, allocations: 8.891 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.348, allocations: 114.4 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.3481, allocations: 12.38 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3481, allocations: 4.375 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.3484, allocations: 129.6 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3484, allocations: 4.188 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3484, allocations: 7.938 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3484, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.3487, allocations: 47.95 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.3492, allocations: 272.2 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3495, allocations: 74.53 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3496, allocations: 24.84 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3496, allocations: 4 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.3497, allocations: 46.48 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3497, allocations: 0 / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001653/0.3514, allocations: 0.4919 MB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3514, allocations: 55.39 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3515, allocations: 101.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3515, allocations: 29.7 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.3516, allocations: 96.02 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3516, allocations: 31.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3517, allocations: 33.7 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3519, allocations: 322.8 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.352, allocations: 27.98 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3521, allocations: 39.97 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.3524, allocations: 71.45 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3524, allocations: 0 / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003288/0.3527, allocations: 121.7 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3527, allocations: 6.031 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3527, allocations: 3.984 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3528, allocations: 0 / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3529, allocations: 27.98 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3529, allocations: 8 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.353, allocations: 3.984 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.353, allocations: 7.938 kB / 1.289 GB, free: 6.383 MB / 0.9825 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 0.0001099/0.3531, allocations: 121.9 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3531, allocations: 11.89 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.3535, allocations: 129.7 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3535, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3536, allocations: 4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.3541, allocations: 330 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3541, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3543, allocations: 23.98 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3543, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3543, allocations: 8 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3543, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3543, allocations: 3.938 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3548, allocations: 247.4 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.3549, allocations: 11.98 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3549, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.355, allocations: 7.984 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.355, allocations: 15.92 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.355, allocations: 4 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.3551, allocations: 83.22 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3551, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002938/0.3554, allocations: 39.86 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002493/0.3556, allocations: 131.2 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.356, allocations: 83.88 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.356, allocations: 0 / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3561, allocations: 39.92 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3565, allocations: 11.98 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.3572, allocations: 351.9 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.54e-05/0.3573, allocations: 79.27 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.3574, allocations: 15.44 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3574, allocations: 3.938 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.003633/0.361, allocations: 1.358 MB / 1.292 GB, free: 3.18 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.150477315299213] Failed to read output from testmodel.py, exit status != 0: 0.8994932700879872 0.38591383100000004 0.035426573 Calling exit ...