Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4607/0.4607, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 101.5 kB / 420 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 47.92 kB / 0.4891 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3339, allocations: 70.07 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002573/0.3366, allocations: 1.336 MB / 0.5588 GB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3376, allocations: 0.6356 MB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.3377, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.3377, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.3378, allocations: 1.062 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.3383, allocations: 129.5 kB / 0.5595 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.688e-05/0.3383, allocations: 31.92 kB / 0.5596 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3384, allocations: 3.938 kB / 0.5596 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.3384, allocations: 23.91 kB / 0.5596 GB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.3385, allocations: 11.94 kB / 0.5596 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3385, allocations: 0 / 0.5596 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.3389, allocations: 347.3 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.3389, allocations: 0.625 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.3389, allocations: 15.94 kB / 0.56 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3392, allocations: 157.2 kB / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3392, allocations: 0 / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3392, allocations: 0 / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3392, allocations: 0 / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.3396, allocations: 379.4 kB / 0.5605 GB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3397, allocations: 12.03 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.3397, allocations: 0.9375 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.3398, allocations: 160.4 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3398, allocations: 8.375 kB / 0.5606 GB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3398, allocations: 16.34 kB / 0.5607 GB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3399, allocations: 42.25 kB / 0.5607 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.34, allocations: 8.094 kB / 0.5607 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.34, allocations: 3.938 kB / 0.5607 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.34, allocations: 0 / 0.5607 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.34, allocations: 23.92 kB / 0.5607 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.3402, allocations: 161.7 kB / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.3403, allocations: 62.55 kB / 0.561 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.3403, allocations: 24.86 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3404, allocations: 7.938 kB / 0.561 GB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3404, allocations: 34.56 kB / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3404, allocations: 0 / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009139/0.3413, allocations: 0.5918 MB / 0.5616 GB, free: 40.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3413, allocations: 51.41 kB / 0.5616 GB, free: 40.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.3414, allocations: 101.8 kB / 0.5617 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.3414, allocations: 25.7 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.3414, allocations: 88.08 kB / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3415, allocations: 39.56 kB / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3415, allocations: 33.72 kB / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.3416, allocations: 314.9 kB / 0.5622 GB, free: 40.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.3416, allocations: 23.94 kB / 0.5622 GB, free: 40.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.3417, allocations: 19.98 kB / 0.5623 GB, free: 40.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.3417, allocations: 60.47 kB / 0.5623 GB, free: 40 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3417, allocations: 0 / 0.5623 GB, free: 40 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001112/0.3419, allocations: 109.5 kB / 0.5624 GB, free: 39.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3419, allocations: 4 kB / 0.5624 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3419, allocations: 4 kB / 0.5624 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3419, allocations: 0 / 0.5624 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.342, allocations: 23.98 kB / 0.5625 GB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.342, allocations: 0 / 0.5625 GB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.3421, allocations: 0 / 0.5625 GB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3421, allocations: 4 kB / 0.5625 GB, free: 39.85 MB / 410.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 (13): * Single equations (assignments): 13 * 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.096e-05/0.3421, allocations: 113.8 kB / 0.5626 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3421, allocations: 7.875 kB / 0.5626 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.3423, allocations: 117.5 kB / 0.5627 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3423, allocations: 0 / 0.5627 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3423, allocations: 0 / 0.5627 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3423, allocations: 0 / 0.5627 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3426, allocations: 350.5 kB / 0.563 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3427, allocations: 4 kB / 0.563 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.3428, allocations: 19.98 kB / 0.563 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3428, allocations: 4 kB / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3428, allocations: 4 kB / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3428, allocations: 0 / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3428, allocations: 4 kB / 0.5631 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.3449, allocations: 1.318 MB / 0.5643 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.3449, allocations: 81.02 kB / 0.5644 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3449, allocations: 4.031 kB / 0.5644 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.345, allocations: 11.94 kB / 0.5644 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.345, allocations: 11.98 kB / 0.5644 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3451, allocations: 4 kB / 0.5644 GB, free: 37.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.3451, allocations: 79.38 kB / 0.5645 GB, free: 37.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3451, allocations: 0 / 0.5645 GB, free: 37.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.3454, allocations: 47.88 kB / 0.5646 GB, free: 37.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001932/0.3456, allocations: 127.2 kB / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.3458, allocations: 59.92 kB / 0.5647 GB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3458, allocations: 0 / 0.5647 GB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.3458, allocations: 31.98 kB / 0.5648 GB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3461, allocations: 4.984 kB / 0.5648 GB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.3467, allocations: 445.3 kB / 0.5652 GB, free: 36.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3468, allocations: 0.6853 MB / 0.5659 GB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.3469, allocations: 11.98 kB / 0.5659 GB, free: 36.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3469, allocations: 15.44 kB / 0.5659 GB, free: 36 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3469, allocations: 0 / 0.5659 GB, free: 36 MB / 410.7 MB Notification: Performance of Templates: time 0.002979/0.3499, allocations: 0.9577 MB / 0.5668 GB, free: 35.07 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)