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.001269/0.001269, allocations: 108.3 kB / 17.04 MB, free: 6.066 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.001333/0.001333, allocations: 196 kB / 17.98 MB, free: 5.148 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.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6669/0.6669, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3362, allocations: 76.14 MB / 0.5576 GB, free: 36.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002103/0.3383, allocations: 1.255 MB / 0.5588 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.3391, allocations: 0.61 MB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.3392, allocations: 2.5 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3392, allocations: 3.938 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.3392, allocations: 0 / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3397, allocations: 145.4 kB / 0.5596 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.3398, allocations: 26.67 kB / 0.5596 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.3398, allocations: 5.281 kB / 0.5596 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.3398, allocations: 7.719 kB / 0.5596 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.3399, allocations: 12.78 kB / 0.5596 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.3399, allocations: 0 / 0.5596 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3404, allocations: 340.7 kB / 0.5599 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3404, allocations: 6.031 kB / 0.5599 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.3404, allocations: 9.312 kB / 0.5599 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3407, allocations: 151.3 kB / 0.5601 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3407, allocations: 1.188 kB / 0.5601 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3407, allocations: 0 / 0.5601 GB, free: 35.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3407, allocations: 0.75 kB / 0.5601 GB, free: 35.32 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.0003854/0.3411, allocations: 354.9 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3411, allocations: 10.33 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3412, allocations: 6.062 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.3413, allocations: 173.4 kB / 0.5606 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3413, allocations: 5.375 kB / 0.5606 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3413, allocations: 3.219 kB / 0.5606 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.3414, allocations: 41.98 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3415, allocations: 1.531 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3415, allocations: 3.938 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3415, allocations: 0.9375 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.342e-05/0.3415, allocations: 8.484 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.3417, allocations: 160.5 kB / 0.5608 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3419, allocations: 49.56 kB / 0.5609 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.3419, allocations: 18.47 kB / 0.5609 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3419, allocations: 1.797 kB / 0.5609 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3419, allocations: 34.84 kB / 0.5609 GB, free: 34.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3419, allocations: 0 / 0.5609 GB, free: 34.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005669/0.3425, allocations: 316.7 kB / 0.5612 GB, free: 34.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.3426, allocations: 52.78 kB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.3426, allocations: 99.3 kB / 0.5614 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.3426, allocations: 28.02 kB / 0.5614 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.3426, allocations: 80.8 kB / 0.5615 GB, free: 33.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3427, allocations: 27.25 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.3427, allocations: 20.53 kB / 0.5615 GB, free: 33.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.3428, allocations: 313.5 kB / 0.5618 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.3428, allocations: 20.08 kB / 0.5618 GB, free: 33.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3428, allocations: 16.2 kB / 0.5619 GB, free: 33.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.3429, allocations: 28.23 kB / 0.5619 GB, free: 33.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3429, allocations: 2.031 kB / 0.5619 GB, free: 33.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.005e-05/0.343, allocations: 68.58 kB / 0.5619 GB, free: 33.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.343, allocations: 9.562 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.343, allocations: 0 / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3431, allocations: 1.875 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.3431, allocations: 15.91 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3431, allocations: 0.7031 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.3431, allocations: 1.375 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3432, allocations: 2.312 kB / 0.562 GB, free: 33.41 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 4.849e-05/0.3432, allocations: 113.3 kB / 0.5621 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3432, allocations: 6.891 kB / 0.5621 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3434, allocations: 69.14 kB / 0.5622 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3434, allocations: 1.25 kB / 0.5622 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3434, allocations: 1.938 kB / 0.5622 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3434, allocations: 2.25 kB / 0.5622 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.3437, allocations: 312.2 kB / 0.5625 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3437, allocations: 1.562 kB / 0.5625 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3437, allocations: 15.38 kB / 0.5625 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3438, allocations: 7.5 kB / 0.5625 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3438, allocations: 6.344 kB / 0.5625 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3438, allocations: 0 / 0.5625 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3438, allocations: 2.156 kB / 0.5625 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.3439, allocations: 180.9 kB / 0.5627 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.344, allocations: 81.92 kB / 0.5627 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.344, allocations: 2.844 kB / 0.5627 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.3441, allocations: 2.266 kB / 0.5627 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.3441, allocations: 8.453 kB / 0.5628 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3441, allocations: 6.406 kB / 0.5628 GB, free: 32.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.3441, allocations: 79.28 kB / 0.5628 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3441, allocations: 1.312 kB / 0.5628 GB, free: 32.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.3444, allocations: 20.5 kB / 0.5629 GB, free: 32.57 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.0001645/0.3446, allocations: 136.6 kB / 0.563 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3447, allocations: 36.2 kB / 0.563 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3447, allocations: 0.7188 kB / 0.563 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.3447, allocations: 18.08 kB / 0.563 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3449, allocations: 13.38 kB / 0.5631 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3453, allocations: 186.2 kB / 0.5632 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.3454, allocations: 0.6844 MB / 0.5639 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.3454, allocations: 4.641 kB / 0.5639 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.3455, allocations: 11.88 kB / 0.5639 GB, free: 31.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3455, allocations: 0 / 0.5639 GB, free: 31.6 MB / 446.1 MB Notification: Performance of Templates: time 0.002724/0.3482, allocations: 0.6266 MB / 0.5645 GB, free: 31.58 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)