Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.002002/0.002002, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 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.002245/0.002245, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.615/1.615, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.286/3.286, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.792e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003048/0.003086, allocations: 1.282 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.004437, allocations: 0.5417 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.004475, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.004501, allocations: 3.938 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.00455, allocations: 3.984 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.00518, allocations: 151.2 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.005266, allocations: 23.91 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.005316, allocations: 3.938 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.005382, allocations: 11.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.005438, allocations: 7.938 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.005453, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.005931, allocations: 267.4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.005959, allocations: 15.92 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.005984, allocations: 12 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.006327, allocations: 155.5 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.006333, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006335, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.006341, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 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.000517/0.006858, allocations: 282 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.006909, allocations: 8.75 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.006958, allocations: 8.891 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.007106, allocations: 105.8 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.007123, allocations: 384 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.007153, allocations: 4.375 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.007329, allocations: 79.88 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.007341, allocations: 192 / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.007352, allocations: 384 / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007358, allocations: 384 / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.007417, allocations: 11.92 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.007612, allocations: 109.3 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.007851, allocations: 38.61 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.007905, allocations: 24.88 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.007932, allocations: 0 / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.007969, allocations: 34.56 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.00797, allocations: 4 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0007434/0.008713, allocations: 237.1 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.008772, allocations: 55.34 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008877, allocations: 105.8 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.008901, allocations: 25.7 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.008971, allocations: 84.14 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.009011, allocations: 19.84 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.00906, allocations: 25.7 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.009239, allocations: 310.8 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.009268, allocations: 8 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.009292, allocations: 19.98 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.009362, allocations: 32.8 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009363, allocations: 0 / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.00947, allocations: 69.62 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.009484, allocations: 4 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009488, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.009507, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.009559, allocations: 12 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.009571, allocations: 3.938 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.009587, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.0096, allocations: 12.05 kB / 1.005 GB, free: 8.621 MB / 0.9636 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.725e-05/0.009697, allocations: 117.8 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.009712, allocations: 7.953 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.009876, allocations: 66.33 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009878, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.009887, allocations: 3.938 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.009893, allocations: 3.984 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.01027, allocations: 263.1 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01027, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.01034, allocations: 11.98 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01034, allocations: 4.031 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01035, allocations: 11.92 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01035, allocations: 240 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01036, allocations: 0 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01059, allocations: 180.3 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01062, allocations: 11.97 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01063, allocations: 3.938 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.0107, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.01072, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.01073, allocations: 7.922 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.061e-05/0.01079, allocations: 79.28 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01079, allocations: 4.062 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002445/0.01103, allocations: 27.88 kB / 1.006 GB, free: 7.746 MB / 0.9636 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.0002307/0.01126, allocations: 115.2 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01138, allocations: 35.92 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01138, allocations: 0 / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01151, allocations: 16.17 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01174, allocations: 4 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.0122, allocations: 172.6 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.568e-05/0.01228, allocations: 63.34 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.01231, allocations: 7.984 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.01234, allocations: 12.5 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.01234, allocations: 4 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of Templates: time 0.00386/0.0162, allocations: 0.6357 MB / 1.007 GB, free: 6.676 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.058016615919769]