Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 119.9 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.89 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3387, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002392/0.341, allocations: 1.275 MB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3422, allocations: 0.6196 MB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.3422, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.3422, allocations: 3.938 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.3423, allocations: 3.984 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.343, allocations: 155.3 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.3431, allocations: 11.94 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.3431, allocations: 7.984 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.3432, allocations: 8 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.3432, allocations: 7.938 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3433, allocations: 0 / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.3439, allocations: 347.3 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.3439, allocations: 3.984 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.3439, allocations: 15.92 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3442, allocations: 139.6 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3442, allocations: 3.938 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3442, allocations: 4 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.3443, allocations: 0 / 1.217 GB, free: 14.39 MB / 0.9669 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.0006127/0.3449, allocations: 367 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3449, allocations: 15.97 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.345, allocations: 0.9375 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3452, allocations: 164.3 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3452, allocations: 4.375 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3452, allocations: 384 / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3453, allocations: 42.25 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3454, allocations: 4.188 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3454, allocations: 3.938 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3454, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.3454, allocations: 15.98 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.3457, allocations: 153.7 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3459, allocations: 46.5 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.346, allocations: 16.86 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.346, allocations: 4 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.346, allocations: 34.56 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.346, allocations: 3.938 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007823/0.3468, allocations: 306.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.3469, allocations: 55.41 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.3469, allocations: 101.8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.347, allocations: 33.64 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.347, allocations: 84.14 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.347, allocations: 23.78 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3471, allocations: 17.72 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3473, allocations: 318.8 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.3473, allocations: 12 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.3473, allocations: 8 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.3474, allocations: 32.84 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3474, allocations: 4 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.3475, allocations: 61.66 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3475, allocations: 17.95 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3475, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3476, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.3476, allocations: 11.94 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3476, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.3477, allocations: 8 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3477, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 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.928e-05/0.3478, allocations: 109.8 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3478, allocations: 11.94 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.3479, allocations: 77.86 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3479, allocations: 3.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.348, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.348, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3484, allocations: 311.5 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3484, allocations: 4.062 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.3484, allocations: 15.92 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3484, allocations: 8.031 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3484, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3484, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3484, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3487, allocations: 184.3 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.3488, allocations: 77.11 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3488, allocations: 11.97 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.3489, allocations: 4.062 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.3489, allocations: 7.984 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3489, allocations: 3.938 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.349, allocations: 79.28 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002781/0.3492, allocations: 27.88 kB / 1.219 GB, free: 11.14 MB / 0.9669 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.000236/0.3495, allocations: 119.2 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3496, allocations: 31.98 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.3496, allocations: 4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.3496, allocations: 19.94 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3499, allocations: 3.938 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.3504, allocations: 230.1 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3507, allocations: 0.6846 MB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3507, allocations: 11.44 kB / 1.22 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3507, allocations: 0 / 1.22 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of Templates: time 0.002735/0.3535, allocations: 0.7988 MB / 1.221 GB, free: 9.191 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.36371108610183] Failed to read output from testmodel.py, exit status != 0: 0.36190488608554006 0.374442885 0.027393694000000003 Calling exit ...