Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.007134/0.007134, allocations: 103 kB / 15.74 MB, free: 6.496 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.001658/0.001658, allocations: 192.2 kB / 16.68 MB, free: 6.375 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9714/0.9714, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.88 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3935, allocations: 82.02 MB / 0.6752 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002162/0.3957, allocations: 1.464 MB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3967, allocations: 0.6345 MB / 0.6772 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.3968, allocations: 0.9688 kB / 0.6772 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.3968, allocations: 7.922 kB / 0.6772 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.3969, allocations: 5.094 kB / 0.6772 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.3974, allocations: 166.2 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.3975, allocations: 55.28 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.3975, allocations: 3.438 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.3976, allocations: 25.62 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.3976, allocations: 23.8 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3976, allocations: 3.406 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.3981, allocations: 348.8 kB / 0.6778 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3981, allocations: 18.11 kB / 0.6778 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3982, allocations: 31.98 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3985, allocations: 175.7 kB / 0.678 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3985, allocations: 0 / 0.678 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.695e-06/0.3985, allocations: 1.25 kB / 0.678 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3985, allocations: 3.938 kB / 0.6781 GB, free: 14.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005497/0.3991, allocations: 406 kB / 0.6784 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3991, allocations: 10.22 kB / 0.6784 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3991, allocations: 37.12 kB / 0.6785 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3992, allocations: 13.19 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3993, allocations: 173.6 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3993, allocations: 7.625 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3993, allocations: 4.969 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3996, allocations: 78.75 kB / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3996, allocations: 4.969 kB / 0.6788 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3996, allocations: 5.125 kB / 0.6788 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3996, allocations: 1.125 kB / 0.6788 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3999, allocations: 52.23 kB / 0.6788 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.4004, allocations: 320.8 kB / 0.6791 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.4007, allocations: 75.81 kB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4008, allocations: 34.56 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4008, allocations: 5.297 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4008, allocations: 35.75 kB / 0.6793 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4009, allocations: 1.344 kB / 0.6793 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001564/0.4024, allocations: 0.6478 MB / 0.6799 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4025, allocations: 57.59 kB / 0.6799 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.4025, allocations: 98.83 kB / 0.68 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4026, allocations: 29.7 kB / 0.6801 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.4026, allocations: 91.05 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.4026, allocations: 52.06 kB / 0.6802 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.4027, allocations: 21.97 kB / 0.6802 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.4028, allocations: 321 kB / 0.6805 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4029, allocations: 29.58 kB / 0.6806 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4031, allocations: 31.88 kB / 0.6806 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.4033, allocations: 75.55 kB / 0.6807 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4033, allocations: 4 kB / 0.6807 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003063/0.4036, allocations: 121.8 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4037, allocations: 6.875 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4037, allocations: 1.281 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4037, allocations: 3.938 kB / 0.6808 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4038, allocations: 24.77 kB / 0.6808 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.4039, allocations: 4.781 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.4039, allocations: 11.2 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4039, allocations: 8 kB / 0.6808 GB, free: 12.26 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.435e-05/0.404, allocations: 115.9 kB / 0.681 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4041, allocations: 7.922 kB / 0.681 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.4044, allocations: 123.1 kB / 0.6811 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4045, allocations: 0.9688 kB / 0.6811 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4045, allocations: 4.938 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4045, allocations: 0 / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.405, allocations: 385.7 kB / 0.6815 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.405, allocations: 0 / 0.6815 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4052, allocations: 27.64 kB / 0.6815 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4052, allocations: 5.125 kB / 0.6815 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4052, allocations: 1.406 kB / 0.6815 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4052, allocations: 5.375 kB / 0.6815 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4052, allocations: 0 / 0.6815 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.4057, allocations: 259.7 kB / 0.6817 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.4058, allocations: 83.12 kB / 0.6818 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4058, allocations: 5.125 kB / 0.6818 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4059, allocations: 12.61 kB / 0.6818 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.4059, allocations: 7.391 kB / 0.6818 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.406, allocations: 2.688 kB / 0.6818 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.406, allocations: 82.78 kB / 0.6819 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.406, allocations: 0 / 0.6819 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002802/0.4063, allocations: 42.78 kB / 0.682 GB, free: 11.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0008023/0.4071, allocations: 0.8239 MB / 0.6828 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.4074, allocations: 88.16 kB / 0.6829 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4074, allocations: 0 / 0.6829 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4076, allocations: 43.61 kB / 0.6829 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.4079, allocations: 9.109 kB / 0.6829 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4099, allocations: 1.593 MB / 0.6845 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4101, allocations: 0.6921 MB / 0.6851 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.4102, allocations: 15.41 kB / 0.6851 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.4102, allocations: 25.88 kB / 0.6852 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4102, allocations: 0 / 0.6852 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.43, allocations: 2.365 MB / 0.6875 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.872, allocations: 14.66 kB / 0.6875 GB, free: 7.109 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)