Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001444/0.001444, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001342/0.001342, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.963/0.963, allocations: 177.1 MB / 203.4 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002578/0.002578, allocations: 233.1 kB / 260.2 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7217/0.7217, allocations: 138.4 MB / 455.2 MB, free: 29.73 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.938e-05, allocations: 6.25 kB / 0.5551 GB, free: 160 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001741/0.001771, allocations: 1.322 MB / 0.5564 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.002519, allocations: 0.5837 MB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.002548, allocations: 0 / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.002573, allocations: 7.922 kB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.002621, allocations: 0 / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.003212, allocations: 147.2 kB / 0.5571 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.003278, allocations: 19.91 kB / 0.5571 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.003317, allocations: 12 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.003364, allocations: 11.94 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.003405, allocations: 7.984 kB / 0.5572 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.003418, allocations: 0 / 0.5572 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.003719, allocations: 271.4 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.003734, allocations: 4 kB / 0.5574 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.003752, allocations: 4 kB / 0.5574 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.003954, allocations: 167.4 kB / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003956, allocations: 0 / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003956, allocations: 0 / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.003961, allocations: 0 / 0.5576 GB, free: 13.59 MB / 490.7 MB 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.0003309/0.004292, allocations: 392.3 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004333, allocations: 13.94 kB / 0.558 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.004369, allocations: 0.9375 kB / 0.558 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.004442, allocations: 108.6 kB / 0.5581 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.004453, allocations: 4.375 kB / 0.5581 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.004473, allocations: 8.359 kB / 0.5581 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.004562, allocations: 63.89 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.004567, allocations: 192 / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.004575, allocations: 384 / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004581, allocations: 4.375 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.004607, allocations: 23.86 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.004722, allocations: 116.6 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.004883, allocations: 47.09 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.004908, allocations: 19.77 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.004922, allocations: 0 / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.004941, allocations: 33.39 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004942, allocations: 0 / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004904/0.005432, allocations: 241.6 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.005458, allocations: 55.34 kB / 0.5587 GB, free: 12.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.005526, allocations: 161.9 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.005538, allocations: 25.7 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.005572, allocations: 130.9 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.005597, allocations: 15.86 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.005626, allocations: 23.38 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.005752, allocations: 0.4923 MB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.005769, allocations: 4 kB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.005784, allocations: 7.984 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.005832, allocations: 31.69 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005833, allocations: 0 / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.025e-05/0.005913, allocations: 61.77 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.005927, allocations: 12 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005932, allocations: 80 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.005948, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.005991, allocations: 12 kB / 0.5596 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.006, allocations: 11.92 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.006012, allocations: 0 / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.006017, allocations: 0.5156 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB 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 7.595e-05/0.006093, allocations: 164.6 kB / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.006101, allocations: 3.953 kB / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.006206, allocations: 73.75 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006207, allocations: 8 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.006212, allocations: 3.938 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006216, allocations: 7.922 kB / 0.5599 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.006433, allocations: 317.1 kB / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006435, allocations: 0 / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.006475, allocations: 8 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.006479, allocations: 4 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.006488, allocations: 3.938 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.006491, allocations: 3.984 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006493, allocations: 0 / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.006637, allocations: 231.6 kB / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.006662, allocations: 7.938 kB / 0.5604 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006675, allocations: 7.938 kB / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.006712, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.006727, allocations: 0 / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.006733, allocations: 8 kB / 0.5604 GB, free: 10.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.006769, allocations: 127.2 kB / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006769, allocations: 0 / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00017/0.006939, allocations: 19.88 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB 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.0001368/0.007075, allocations: 131.2 kB / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.007168, allocations: 35.61 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007169, allocations: 0 / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.007188, allocations: 23.67 kB / 0.5608 GB, free: 9.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.007344, allocations: 8.562 kB / 0.5608 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.007824, allocations: 189.9 kB / 0.5609 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.007858, allocations: 59.34 kB / 0.561 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.048e-05/0.007878, allocations: 4.141 kB / 0.561 GB, free: 9.688 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.007901, allocations: 16.5 kB / 0.561 GB, free: 9.672 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007901, allocations: 0 / 0.561 GB, free: 9.672 MB / 490.7 MB Notification: Performance of Templates: time 0.002482/0.01038, allocations: 0.7088 MB / 0.5617 GB, free: 9.012 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6107883490622044]