Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_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.006598/0.006598, allocations: 97.41 kB / 15.73 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.001421/0.001421, allocations: 197 kB / 16.67 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9436/0.9436, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.91 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3935, allocations: 82.03 MB / 0.6752 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001911/0.3955, allocations: 1.273 MB / 0.6764 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3965, allocations: 0.6274 MB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.3965, allocations: 0 / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.3966, allocations: 4.938 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.3966, allocations: 0 / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3972, allocations: 158 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.3972, allocations: 24.45 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.3973, allocations: 2.281 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.3973, allocations: 14.09 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3974, allocations: 20.72 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3974, allocations: 2.344 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.3979, allocations: 334.3 kB / 0.6776 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.3979, allocations: 12.73 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3979, allocations: 21.83 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3982, allocations: 151.3 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3982, allocations: 0 / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3982, allocations: 1.188 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3982, allocations: 0 / 0.6777 GB, free: 15.2 MB / 0.5137 GB 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.0004908/0.3987, allocations: 373.5 kB / 0.6781 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3988, allocations: 10.78 kB / 0.6781 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.3988, allocations: 31.81 kB / 0.6781 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.3988, allocations: 3.094 kB / 0.6781 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.399, allocations: 174.6 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.399, allocations: 1.344 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.399, allocations: 7.656 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3991, allocations: 52.5 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3991, allocations: 5.062 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3992, allocations: 5.125 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3992, allocations: 1.125 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.3992, allocations: 19.02 kB / 0.6784 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.3994, allocations: 161.3 kB / 0.6785 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3995, allocations: 63.03 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3996, allocations: 30.5 kB / 0.6786 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3996, allocations: 1.281 kB / 0.6786 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3996, allocations: 35.66 kB / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3996, allocations: 0 / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.00112/0.4007, allocations: 0.603 MB / 0.6793 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.4008, allocations: 53.69 kB / 0.6793 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.4009, allocations: 92.14 kB / 0.6794 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.4009, allocations: 30.83 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.4009, allocations: 89.16 kB / 0.6795 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.401, allocations: 36.33 kB / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.401, allocations: 29.55 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.4011, allocations: 317.3 kB / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.4012, allocations: 19.02 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.4012, allocations: 25.05 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.4013, allocations: 60.95 kB / 0.68 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4013, allocations: 0 / 0.68 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001424/0.4015, allocations: 103.2 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4015, allocations: 7.5 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4015, allocations: 4 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4015, allocations: 0.9688 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4016, allocations: 22.44 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4016, allocations: 3.984 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.4017, allocations: 1.375 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.4017, allocations: 6.594 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB 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 7.467e-05/0.4018, allocations: 112.5 kB / 0.6802 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.4018, allocations: 6.406 kB / 0.6802 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.402, allocations: 111.8 kB / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.402, allocations: 1.344 kB / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.402, allocations: 0 / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.402, allocations: 3.984 kB / 0.6804 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.4024, allocations: 366.6 kB / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4024, allocations: 0 / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4025, allocations: 20.31 kB / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4025, allocations: 1.469 kB / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4025, allocations: 1.469 kB / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.4026, allocations: 3.984 kB / 0.6807 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4026, allocations: 4 kB / 0.6807 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4028, allocations: 217.4 kB / 0.6809 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4028, allocations: 79.39 kB / 0.681 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4029, allocations: 1.25 kB / 0.681 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.4029, allocations: 5 kB / 0.681 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.403, allocations: 8.297 kB / 0.681 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.403, allocations: 6.688 kB / 0.681 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.403, allocations: 80.94 kB / 0.6811 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.403, allocations: 0 / 0.6811 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002709/0.4033, allocations: 40.73 kB / 0.6811 GB, free: 11.88 MB / 0.5137 GB 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.0005633/0.4039, allocations: 0.7829 MB / 0.6819 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.404, allocations: 59.05 kB / 0.682 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.404, allocations: 5.406 kB / 0.682 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.4041, allocations: 37.3 kB / 0.682 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.4043, allocations: 6.656 kB / 0.682 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4057, allocations: 1.508 MB / 0.6835 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4059, allocations: 0.6887 MB / 0.6842 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.764e-05/0.406, allocations: 17.64 kB / 0.6842 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.406, allocations: 17.16 kB / 0.6842 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.4061, allocations: 0 / 0.6842 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.4267, allocations: 2.102 MB / 0.6862 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.914, allocations: 9.281 kB / 0.6863 GB, free: 7.922 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)