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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.0009887/0.000989, allocations: 196 kB / 17.98 MB, free: 5.031 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 68.11 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 76.14 MB / 0.5576 GB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002026/0.3333, allocations: 1.262 MB / 0.5588 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007679/0.3341, allocations: 0.6199 MB / 0.5594 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.3342, allocations: 1.312 kB / 0.5594 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3342, allocations: 3.938 kB / 0.5594 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.3342, allocations: 1.75 kB / 0.5594 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3347, allocations: 154.8 kB / 0.5596 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.3347, allocations: 29.5 kB / 0.5596 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3348, allocations: 3.297 kB / 0.5596 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.3348, allocations: 15.19 kB / 0.5596 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.3349, allocations: 8.844 kB / 0.5596 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3349, allocations: 2.719 kB / 0.5596 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.3353, allocations: 345.9 kB / 0.56 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.3354, allocations: 12.03 kB / 0.56 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3354, allocations: 17.86 kB / 0.56 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3356, allocations: 152.2 kB / 0.5601 GB, free: 35.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3356, allocations: 4.5 kB / 0.5601 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3357, allocations: 0.75 kB / 0.5601 GB, free: 35.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3357, allocations: 1.375 kB / 0.5601 GB, free: 35.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002851/0.3359, allocations: 363 kB / 0.5605 GB, free: 34.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.336, allocations: 10.53 kB / 0.5605 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.336, allocations: 8.688 kB / 0.5605 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.996e-05/0.3361, allocations: 166.7 kB / 0.5607 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3361, allocations: 2.062 kB / 0.5607 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3361, allocations: 4.156 kB / 0.5607 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3363, allocations: 50.19 kB / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3363, allocations: 2.859 kB / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3363, allocations: 5.062 kB / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3363, allocations: 7.703 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.3364, allocations: 26.52 kB / 0.5608 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3365, allocations: 164.1 kB / 0.5609 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.3366, allocations: 56.14 kB / 0.561 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.3366, allocations: 30.97 kB / 0.561 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3367, allocations: 1.562 kB / 0.561 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3367, allocations: 32.19 kB / 0.561 GB, free: 34.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3367, allocations: 2.531 kB / 0.561 GB, free: 34.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009422/0.3376, allocations: 0.5938 MB / 0.5616 GB, free: 33.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.3377, allocations: 52.44 kB / 0.5617 GB, free: 33.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.3377, allocations: 94.8 kB / 0.5618 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3377, allocations: 29.7 kB / 0.5618 GB, free: 33.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.3378, allocations: 82.98 kB / 0.5619 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3378, allocations: 35.48 kB / 0.5619 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.3378, allocations: 29.17 kB / 0.5619 GB, free: 33.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.3379, allocations: 319.6 kB / 0.5622 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.3379, allocations: 17.77 kB / 0.5622 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.338, allocations: 27.77 kB / 0.5623 GB, free: 33.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.3381, allocations: 58.78 kB / 0.5623 GB, free: 33.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3381, allocations: 2.094 kB / 0.5623 GB, free: 33.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001274/0.3382, allocations: 99.06 kB / 0.5624 GB, free: 33.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3382, allocations: 6.125 kB / 0.5624 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3382, allocations: 0.9688 kB / 0.5624 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3383, allocations: 2.688 kB / 0.5624 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3384, allocations: 26.97 kB / 0.5625 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3384, allocations: 5.438 kB / 0.5625 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.3384, allocations: 6.031 kB / 0.5625 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3384, allocations: 2.562 kB / 0.5625 GB, free: 33.02 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 (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 4.656e-05/0.3385, allocations: 113.3 kB / 0.5626 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.3385, allocations: 11.48 kB / 0.5626 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.3387, allocations: 105.8 kB / 0.5627 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3387, allocations: 5.469 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3387, allocations: 0.9688 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3387, allocations: 0.7969 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.339, allocations: 356 kB / 0.563 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.339, allocations: 1.188 kB / 0.563 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.3391, allocations: 19.14 kB / 0.5631 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3391, allocations: 2.594 kB / 0.5631 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3392, allocations: 1.438 kB / 0.5631 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3392, allocations: 2.094 kB / 0.5631 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3392, allocations: 5.203 kB / 0.5631 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.3394, allocations: 225.8 kB / 0.5633 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.3394, allocations: 79.02 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3394, allocations: 6.344 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.3395, allocations: 2.812 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.3395, allocations: 6.047 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3396, allocations: 8.375 kB / 0.5634 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.744e-05/0.3396, allocations: 78.23 kB / 0.5635 GB, free: 32.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3396, allocations: 0 / 0.5635 GB, free: 32.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3398, allocations: 42.67 kB / 0.5635 GB, free: 32.12 MB / 446.1 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.0001622/0.34, allocations: 124.6 kB / 0.5636 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3401, allocations: 69.62 kB / 0.5637 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3402, allocations: 0.6875 kB / 0.5637 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.3402, allocations: 35.22 kB / 0.5637 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3404, allocations: 8.688 kB / 0.5637 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.3408, allocations: 291.5 kB / 0.564 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.3409, allocations: 0.6875 MB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.341, allocations: 8.234 kB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.341, allocations: 12.72 kB / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.341, allocations: 1.406 kB / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of Templates: time 0.002896/0.3439, allocations: 0.9494 MB / 0.5656 GB, free: 31.06 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)