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.001129/0.001129, allocations: 101.2 kB / 16.27 MB, free: 5.973 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.001163/0.001163, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7584/0.7584, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002127/0.336, allocations: 1.267 MB / 0.5685 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.3368, allocations: 0.6128 MB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3369, allocations: 0.7188 kB / 0.5691 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3369, allocations: 4.641 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.3369, allocations: 6.453 kB / 0.5691 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.3374, allocations: 156.1 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.3375, allocations: 29.92 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.3375, allocations: 3.734 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.3375, allocations: 7.094 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.3376, allocations: 20.33 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3376, allocations: 2.438 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.3381, allocations: 343.3 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3381, allocations: 12.31 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.3381, allocations: 18.3 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3384, allocations: 143.5 kB / 0.5698 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3384, allocations: 5.125 kB / 0.5698 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3384, allocations: 4.438 kB / 0.5699 GB, free: 31.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.3384, allocations: 0 / 0.5699 GB, free: 31.11 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.0003053/0.3387, allocations: 372.5 kB / 0.5702 GB, free: 30.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3387, allocations: 9.625 kB / 0.5702 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.3388, allocations: 38.25 kB / 0.5703 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.3388, allocations: 3.281 kB / 0.5703 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.951e-05/0.3389, allocations: 164.5 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3389, allocations: 2.031 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3389, allocations: 8.047 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.952e-05/0.339, allocations: 50.73 kB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.339, allocations: 5.156 kB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3391, allocations: 3.781 kB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3391, allocations: 1.344 kB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.3391, allocations: 21.98 kB / 0.5705 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.3392, allocations: 166.5 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.3393, allocations: 56.86 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3394, allocations: 29.98 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3394, allocations: 1.219 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.3394, allocations: 33.12 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3394, allocations: 1.688 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009723/0.3404, allocations: 0.5893 MB / 0.5714 GB, free: 29.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3404, allocations: 53.16 kB / 0.5714 GB, free: 29.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.3405, allocations: 98.7 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3405, allocations: 27.64 kB / 0.5715 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.3405, allocations: 82.08 kB / 0.5716 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.3406, allocations: 40.67 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3406, allocations: 28.56 kB / 0.5717 GB, free: 29.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3407, allocations: 313.5 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.3407, allocations: 28.72 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.3408, allocations: 22.59 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.3409, allocations: 58.31 kB / 0.5721 GB, free: 28.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3409, allocations: 2.531 kB / 0.5721 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001276/0.341, allocations: 103.3 kB / 0.5722 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.341, allocations: 10.42 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.341, allocations: 0.5938 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.341, allocations: 2.75 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3411, allocations: 24.41 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3412, allocations: 1.094 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.3412, allocations: 1.281 kB / 0.5722 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3412, allocations: 2.344 kB / 0.5722 GB, free: 28.86 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 5.435e-05/0.3413, allocations: 115.8 kB / 0.5723 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.3413, allocations: 7.594 kB / 0.5723 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.3415, allocations: 105.1 kB / 0.5724 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3415, allocations: 7.094 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3415, allocations: 1.812 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3415, allocations: 1.766 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.3418, allocations: 359 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3418, allocations: 1.125 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.342, allocations: 21.11 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.342, allocations: 1.438 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.342, allocations: 7.609 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.342, allocations: 0 / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.342, allocations: 0.6094 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.3422, allocations: 223.2 kB / 0.573 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.3422, allocations: 82.11 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3423, allocations: 3 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.3424, allocations: 1.312 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.3424, allocations: 10.7 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3424, allocations: 4.328 kB / 0.5731 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.886e-05/0.3424, allocations: 78.62 kB / 0.5732 GB, free: 27.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3424, allocations: 0 / 0.5732 GB, free: 27.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3427, allocations: 42.36 kB / 0.5732 GB, free: 27.97 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.0004264/0.3431, allocations: 0.7781 MB / 0.574 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3433, allocations: 68.19 kB / 0.5741 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3433, allocations: 0 / 0.5741 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.3433, allocations: 37.58 kB / 0.5741 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3435, allocations: 9.047 kB / 0.5741 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3446, allocations: 1.508 MB / 0.5756 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3447, allocations: 0.6842 MB / 0.5762 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.3448, allocations: 21.05 kB / 0.5763 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3448, allocations: 17.48 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3449, allocations: 0 / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.3631, allocations: 2.022 MB / 0.5783 GB, free: 24.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.469, allocations: 8.016 kB / 0.5783 GB, free: 24.86 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)