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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001388/0.001388, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001184/0.001184, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.88 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3593, allocations: 77.92 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002433/0.3618, allocations: 1.253 MB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.3627, allocations: 0.6139 MB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.3627, allocations: 1.125 kB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.3628, allocations: 3.938 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.3628, allocations: 3 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.3633, allocations: 143 kB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.3634, allocations: 19.69 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.3635, allocations: 6.953 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.3635, allocations: 4.188 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.3636, allocations: 9.453 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3636, allocations: 7.156 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005809/0.3642, allocations: 346.1 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3642, allocations: 6.5 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3642, allocations: 7.219 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3645, allocations: 148.1 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3645, allocations: 1.719 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3645, allocations: 0 / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3646, allocations: 1.484 kB / 0.5698 GB, free: 31.04 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.0003904/0.365, allocations: 358.9 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.365, allocations: 10.31 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.365, allocations: 35.81 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3651, allocations: 4.672 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.3652, allocations: 178.1 kB / 0.5703 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3652, allocations: 2.719 kB / 0.5703 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3652, allocations: 2.594 kB / 0.5704 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.3653, allocations: 40.42 kB / 0.5704 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3653, allocations: 8.906 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3653, allocations: 1.062 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3653, allocations: 2.688 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.3654, allocations: 12.08 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.3655, allocations: 155.4 kB / 0.5706 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3657, allocations: 44.59 kB / 0.5706 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.3657, allocations: 18.27 kB / 0.5706 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3658, allocations: 2.797 kB / 0.5706 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3658, allocations: 35.97 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3658, allocations: 1.375 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005637/0.3664, allocations: 305.6 kB / 0.571 GB, free: 29.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3664, allocations: 53.03 kB / 0.571 GB, free: 29.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.648e-05/0.3664, allocations: 100 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3665, allocations: 30.67 kB / 0.5711 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.3665, allocations: 82.42 kB / 0.5712 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3665, allocations: 23.86 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3666, allocations: 21.05 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.3666, allocations: 318.9 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.3666, allocations: 11.61 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.3667, allocations: 13.33 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.3667, allocations: 36.91 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.3667, allocations: 0.6562 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.004e-05/0.3668, allocations: 68.81 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3669, allocations: 4.594 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3669, allocations: 2.359 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3669, allocations: 0 / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.3669, allocations: 21.48 kB / 0.5717 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.367, allocations: 0 / 0.5717 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.367, allocations: 1.719 kB / 0.5717 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.367, allocations: 6.625 kB / 0.5717 GB, free: 29.08 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.912e-05/0.367, allocations: 108.9 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.3671, allocations: 8.219 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3672, allocations: 68.66 kB / 0.5719 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3672, allocations: 5.234 kB / 0.5719 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3672, allocations: 0.625 kB / 0.5719 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3672, allocations: 6.031 kB / 0.5719 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3675, allocations: 317.8 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3675, allocations: 0 / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3676, allocations: 12.34 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3676, allocations: 2.641 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3676, allocations: 1.062 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3676, allocations: 6.406 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3676, allocations: 0 / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.3678, allocations: 182.1 kB / 0.5724 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.3678, allocations: 83.06 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3678, allocations: 1.641 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3679, allocations: 5.703 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3679, allocations: 4.297 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3679, allocations: 3.312 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.062e-05/0.368, allocations: 83.89 kB / 0.5726 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.368, allocations: 0 / 0.5726 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3682, allocations: 24.28 kB / 0.5726 GB, free: 28.23 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.0003689/0.3686, allocations: 0.7413 MB / 0.5733 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3687, allocations: 36.38 kB / 0.5734 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3687, allocations: 0.5312 kB / 0.5734 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.3688, allocations: 18.88 kB / 0.5734 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.369, allocations: 3.609 kB / 0.5734 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.37, allocations: 1.323 MB / 0.5747 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3702, allocations: 0.6804 MB / 0.5753 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.3702, allocations: 10.12 kB / 0.5753 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.3702, allocations: 11.56 kB / 0.5754 GB, free: 25.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3702, allocations: 0.5 kB / 0.5754 GB, free: 25.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3916, allocations: 1.58 MB / 0.5769 GB, free: 25.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.698, allocations: 8.094 kB / 0.5769 GB, free: 25.25 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)