Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 108.3 kB / 16.64 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 197.3 kB / 17.56 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7713/0.7713, allocations: 122.9 MB / 414.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.89 kB / 0.4912 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4028, allocations: 77.92 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002775/0.4056, allocations: 1.326 MB / 0.5686 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4067, allocations: 0.601 MB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.4067, allocations: 0.7812 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.4068, allocations: 4.594 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.4068, allocations: 6.203 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.4074, allocations: 124.7 kB / 0.5693 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.4075, allocations: 23.86 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.4076, allocations: 2.031 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.4076, allocations: 9.625 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.4077, allocations: 13.52 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.4077, allocations: 1.938 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.4082, allocations: 345.8 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.4083, allocations: 3.484 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.4083, allocations: 8.141 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.4085, allocations: 98.86 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4085, allocations: 1.062 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4085, allocations: 1 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4085, allocations: 0 / 0.5698 GB, free: 30.98 MB / 446.1 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.0003971/0.4089, allocations: 359.2 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.409, allocations: 8.719 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.409, allocations: 5.531 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.4091, allocations: 170.2 kB / 0.5703 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4091, allocations: 2.219 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4092, allocations: 6.406 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.4093, allocations: 36.17 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4093, allocations: 5.125 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4093, allocations: 9.719 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.4093, allocations: 1.281 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.4094, allocations: 11.53 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.4095, allocations: 156.2 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.4097, allocations: 49.92 kB / 0.5706 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.4097, allocations: 17.84 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4098, allocations: 1.609 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.4098, allocations: 37.31 kB / 0.5707 GB, free: 30.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4098, allocations: 1 kB / 0.5707 GB, free: 30.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005752/0.4104, allocations: 317.6 kB / 0.571 GB, free: 29.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.4104, allocations: 53.56 kB / 0.571 GB, free: 29.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.4104, allocations: 95.31 kB / 0.5711 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.4105, allocations: 34.7 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.4105, allocations: 82.14 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.4105, allocations: 21.72 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.4106, allocations: 18.69 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.4106, allocations: 318.7 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.4107, allocations: 12.61 kB / 0.5716 GB, free: 29.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.4107, allocations: 16.34 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.4107, allocations: 33.94 kB / 0.5716 GB, free: 29.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4107, allocations: 0 / 0.5716 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.81e-05/0.4108, allocations: 69.81 kB / 0.5717 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4109, allocations: 9.625 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4109, allocations: 1.219 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4109, allocations: 1.031 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.411, allocations: 14.94 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.411, allocations: 1.188 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.411, allocations: 1.812 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.411, allocations: 1.344 kB / 0.5717 GB, free: 29.05 MB / 446.1 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 6.001e-05/0.4111, allocations: 115 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.4111, allocations: 6.5 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.4113, allocations: 69.16 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4113, allocations: 1.531 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4113, allocations: 1.031 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4113, allocations: 0.7969 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4116, allocations: 320.8 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4116, allocations: 0 / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.4117, allocations: 15.39 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4117, allocations: 1.156 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4117, allocations: 6.141 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4117, allocations: 1.375 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4117, allocations: 3.984 kB / 0.5722 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4119, allocations: 177.9 kB / 0.5724 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.4119, allocations: 87.98 kB / 0.5725 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4119, allocations: 1.797 kB / 0.5725 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.412, allocations: 5.859 kB / 0.5725 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.4121, allocations: 4.125 kB / 0.5725 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4121, allocations: 3.688 kB / 0.5725 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.4121, allocations: 86.27 kB / 0.5726 GB, free: 28.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4121, allocations: 2.75 kB / 0.5726 GB, free: 28.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.4124, allocations: 23.11 kB / 0.5726 GB, free: 28.2 MB / 446.1 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.0001834/0.4126, allocations: 128.2 kB / 0.5727 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4127, allocations: 33.59 kB / 0.5728 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4127, allocations: 1.781 kB / 0.5728 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.4127, allocations: 21.12 kB / 0.5728 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.413, allocations: 10.92 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.4134, allocations: 225.7 kB / 0.573 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4135, allocations: 0.6803 MB / 0.5737 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.4135, allocations: 11.94 kB / 0.5737 GB, free: 27.19 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4135, allocations: 0 / 0.5737 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Templates: time 0.002497/0.416, allocations: 0.7928 MB / 0.5745 GB, free: 27.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)