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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.002201/0.002201, allocations: 190.3 kB / 17.2 MB, free: 5.574 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7807/0.7807, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.374, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002498/0.3765, allocations: 1.255 MB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.3775, allocations: 0.6246 MB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.3775, allocations: 0 / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.3775, allocations: 5.906 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.3776, allocations: 8.984 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.3782, allocations: 146.5 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.3783, allocations: 36.8 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.3783, allocations: 2.75 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.3784, allocations: 8.328 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.3784, allocations: 15.94 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3784, allocations: 1.219 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.3791, allocations: 347.2 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.3791, allocations: 2.297 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.3791, allocations: 19.7 kB / 0.5697 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3794, allocations: 147.8 kB / 0.5698 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3795, allocations: 0.9375 kB / 0.5698 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3795, allocations: 8.656 kB / 0.5698 GB, free: 31.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3795, allocations: 0 / 0.5698 GB, free: 31.1 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.000415/0.3799, allocations: 371.7 kB / 0.5702 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.38, allocations: 11.52 kB / 0.5702 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.38, allocations: 32.64 kB / 0.5702 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.38, allocations: 7.75 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3801, allocations: 163.7 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3802, allocations: 2.625 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.3802, allocations: 4.219 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3803, allocations: 52.88 kB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3803, allocations: 3.938 kB / 0.5705 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3804, allocations: 5.25 kB / 0.5705 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3804, allocations: 1.719 kB / 0.5705 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.3804, allocations: 22.3 kB / 0.5705 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3806, allocations: 171.5 kB / 0.5707 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3807, allocations: 57.81 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.3808, allocations: 28.45 kB / 0.5707 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3808, allocations: 1.625 kB / 0.5707 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3808, allocations: 33.83 kB / 0.5708 GB, free: 30.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3808, allocations: 1.156 kB / 0.5708 GB, free: 30.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001166/0.382, allocations: 0.5928 MB / 0.5714 GB, free: 29.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3821, allocations: 53.69 kB / 0.5714 GB, free: 29.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.3821, allocations: 99.98 kB / 0.5715 GB, free: 29.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3821, allocations: 27.08 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.3822, allocations: 80.7 kB / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.3822, allocations: 40.66 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3823, allocations: 23.47 kB / 0.5717 GB, free: 29.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.3823, allocations: 319.3 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.3824, allocations: 20.19 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.3825, allocations: 28.44 kB / 0.572 GB, free: 28.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.3826, allocations: 54.41 kB / 0.5721 GB, free: 28.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3826, allocations: 0.7812 kB / 0.5721 GB, free: 28.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001594/0.3827, allocations: 103.4 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3828, allocations: 10.69 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3828, allocations: 0 / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3828, allocations: 3.938 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3829, allocations: 24.72 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3829, allocations: 1.188 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.383, allocations: 4 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.383, allocations: 8.703 kB / 0.5722 GB, free: 28.84 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 6.963e-05/0.383, allocations: 114.5 kB / 0.5723 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.3831, allocations: 10.31 kB / 0.5723 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.3832, allocations: 101 kB / 0.5724 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3833, allocations: 2.594 kB / 0.5724 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3833, allocations: 2.047 kB / 0.5724 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3833, allocations: 0.7031 kB / 0.5724 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.3837, allocations: 365.5 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3837, allocations: 0.5625 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3838, allocations: 20.11 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3838, allocations: 2.531 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3838, allocations: 1.375 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3838, allocations: 0.5312 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3839, allocations: 1.406 kB / 0.5728 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3841, allocations: 218 kB / 0.573 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.3841, allocations: 85.66 kB / 0.5731 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3841, allocations: 6.25 kB / 0.5731 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.3842, allocations: 2.125 kB / 0.5731 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.3843, allocations: 6.984 kB / 0.5731 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3843, allocations: 7.188 kB / 0.5731 GB, free: 28.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.3843, allocations: 77.05 kB / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3843, allocations: 2.25 kB / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3846, allocations: 40.88 kB / 0.5732 GB, free: 27.96 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.0004509/0.3851, allocations: 0.779 MB / 0.574 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.3852, allocations: 67.97 kB / 0.5741 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3852, allocations: 0 / 0.5741 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.3853, allocations: 36.98 kB / 0.5741 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3855, allocations: 9.734 kB / 0.5741 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3868, allocations: 1.505 MB / 0.5756 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.387, allocations: 0.684 MB / 0.5762 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.814e-05/0.3871, allocations: 17.02 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.3871, allocations: 18.27 kB / 0.5763 GB, free: 25.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3871, allocations: 0 / 0.5763 GB, free: 25.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.4068, allocations: 2.021 MB / 0.5783 GB, free: 24.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.557, allocations: 16.89 kB / 0.5783 GB, free: 24.85 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)