Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001646/0.001646, 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.002/0.002, allocations: 215.5 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.276/3.276, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_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.",fileNamePrefix="Buildings_latest_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.002097/0.002097, allocations: 68.27 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003066/0.3696, allocations: 1.486 MB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3709, allocations: 0.5654 MB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.3709, allocations: 0 / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.3709, allocations: 3.938 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.371, allocations: 7.938 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.3717, allocations: 161.4 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.3717, allocations: 55.78 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3718, allocations: 4 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.3719, allocations: 23.91 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.3719, allocations: 23.91 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3719, allocations: 8 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.3724, allocations: 271.5 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3724, allocations: 15.92 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3725, allocations: 19.92 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.3728, allocations: 175.3 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3728, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3728, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3728, allocations: 0 / 1.367 GB, free: 10.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000617/0.3734, allocations: 319.4 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3734, allocations: 8.031 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.3735, allocations: 12.89 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3736, allocations: 114.5 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3736, allocations: 4.375 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3736, allocations: 8.375 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3739, allocations: 133.5 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3739, allocations: 192 / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.374, allocations: 7.938 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.374, allocations: 3.938 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3742, allocations: 55.95 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.3747, allocations: 260.3 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.375, allocations: 74.53 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3751, allocations: 32.84 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3752, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3752, allocations: 34.56 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.3752, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001618/0.3768, allocations: 0.4997 MB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3769, allocations: 55.34 kB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.3769, allocations: 105.8 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.377, allocations: 37.7 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.377, allocations: 80.14 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.3771, allocations: 43.62 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.3771, allocations: 29.7 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3773, allocations: 322.8 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3774, allocations: 39.97 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3775, allocations: 27.97 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.3778, allocations: 70.97 kB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3778, allocations: 7.984 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003371/0.3781, allocations: 121.7 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3782, allocations: 8 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3782, allocations: 0 / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3782, allocations: 0 / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3783, allocations: 23.98 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3783, allocations: 0 / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.3784, allocations: 4 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3784, allocations: 15.92 kB / 1.37 GB, free: 7.949 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 (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.669e-05/0.3785, allocations: 117.8 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3785, allocations: 4 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.3789, allocations: 129.5 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3789, allocations: 4 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3789, allocations: 0 / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3789, allocations: 3.984 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.3795, allocations: 322 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3795, allocations: 4 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3797, allocations: 31.97 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3797, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3797, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3797, allocations: 4 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3797, allocations: 7.875 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.3802, allocations: 247.4 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.3802, allocations: 4.031 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3802, allocations: 3.938 kB / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3804, allocations: 16.05 kB / 1.371 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.3804, allocations: 11.92 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3804, allocations: 4 kB / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.3804, allocations: 79.28 kB / 1.371 GB, free: 6.898 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 4 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000298/0.3807, allocations: 35.86 kB / 1.371 GB, free: 6.859 MB / 1.061 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.0002099/0.381, allocations: 131.1 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3813, allocations: 83.45 kB / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3813, allocations: 0 / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3815, allocations: 47.91 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3818, allocations: 8 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.3825, allocations: 343.8 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.3825, allocations: 75.34 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.3826, allocations: 19.42 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3826, allocations: 0 / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of Templates: time 0.003211/0.3858, allocations: 1.347 MB / 1.373 GB, free: 4.766 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.108033034950495] Failed to read output from testmodel.py, exit status != 0: 0.393484388012439 0.40899763899999997 0.033083640000000004 Calling exit ...