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.001234/0.001234, allocations: 103.8 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.001141/0.001141, allocations: 188.5 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7472/0.7472, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3302, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00218/0.3325, allocations: 1.255 MB / 0.5685 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.3334, allocations: 0.6124 MB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.3334, allocations: 2.844 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.3335, allocations: 0 / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.3335, allocations: 10.06 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3341, allocations: 148.5 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.3341, allocations: 15.08 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.3342, allocations: 3.844 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.3342, allocations: 9.219 kB / 0.5693 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.3343, allocations: 13.83 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3343, allocations: 0.9062 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.3348, allocations: 342.4 kB / 0.5696 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.3348, allocations: 6.547 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.3349, allocations: 12.61 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3351, allocations: 149.2 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3351, allocations: 0 / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3351, allocations: 1.656 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3351, allocations: 1.125 kB / 0.5698 GB, free: 31.15 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.0002964/0.3354, allocations: 357.3 kB / 0.5701 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3355, allocations: 11.94 kB / 0.5701 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.3355, allocations: 32.59 kB / 0.5702 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.3355, allocations: 2.344 kB / 0.5702 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.3356, allocations: 166.9 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3356, allocations: 7 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3357, allocations: 3.109 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.3358, allocations: 43.36 kB / 0.5704 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3358, allocations: 5.312 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3358, allocations: 1.328 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3358, allocations: 4.594 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.3358, allocations: 8.172 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.3359, allocations: 159.5 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3361, allocations: 42.72 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.3361, allocations: 17.39 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3362, allocations: 2.766 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3362, allocations: 32.62 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3362, allocations: 3.938 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000523/0.3367, allocations: 314.2 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.3368, allocations: 53 kB / 0.571 GB, free: 29.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/0.3368, allocations: 100.1 kB / 0.5711 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.3368, allocations: 31.2 kB / 0.5711 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.437e-05/0.3368, allocations: 81.89 kB / 0.5712 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3369, allocations: 24.36 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3369, allocations: 20.81 kB / 0.5713 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.337, allocations: 314 kB / 0.5716 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.337, allocations: 11.23 kB / 0.5716 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.337, allocations: 17.72 kB / 0.5716 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.3371, allocations: 29.33 kB / 0.5716 GB, free: 29.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3371, allocations: 4.5 kB / 0.5716 GB, free: 29.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.039e-05/0.3372, allocations: 81.38 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3372, allocations: 5.781 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3372, allocations: 0 / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3372, allocations: 3 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.3373, allocations: 9.438 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.3373, allocations: 1.938 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3373, allocations: 1.812 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3373, allocations: 1.719 kB / 0.5717 GB, free: 29.19 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.456e-05/0.3374, allocations: 114.3 kB / 0.5718 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.3374, allocations: 5.031 kB / 0.5718 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.3375, allocations: 75.02 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3375, allocations: 0 / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3375, allocations: 2.453 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3375, allocations: 0.7031 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3378, allocations: 315.3 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3378, allocations: 1.156 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.3378, allocations: 14.69 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3379, allocations: 1.438 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3379, allocations: 3.203 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3379, allocations: 0 / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3379, allocations: 2.844 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.338, allocations: 190.1 kB / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.3381, allocations: 83.16 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3381, allocations: 5.156 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.3382, allocations: 1.859 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3382, allocations: 8.203 kB / 0.5725 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3382, allocations: 3.125 kB / 0.5725 GB, free: 28.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.791e-05/0.3382, allocations: 82.7 kB / 0.5726 GB, free: 28.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3382, allocations: 1.156 kB / 0.5726 GB, free: 28.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3385, allocations: 19.86 kB / 0.5726 GB, free: 28.34 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.000324/0.3388, allocations: 0.7404 MB / 0.5733 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.3389, allocations: 33.72 kB / 0.5734 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3389, allocations: 1.781 kB / 0.5734 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.3389, allocations: 21.3 kB / 0.5734 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3392, allocations: 4.391 kB / 0.5734 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.3401, allocations: 1.319 MB / 0.5747 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.3402, allocations: 0.6802 MB / 0.5753 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.3402, allocations: 6.281 kB / 0.5753 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3402, allocations: 16.34 kB / 0.5754 GB, free: 25.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3403, allocations: 0 / 0.5754 GB, free: 25.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3578, allocations: 1.579 MB / 0.5769 GB, free: 25.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.521, allocations: 5.5 kB / 0.5769 GB, free: 25.36 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)