Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.005548/0.005548, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001288/0.001288, allocations: 200 kB / 16.68 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.021/1.021, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4075, allocations: 82.02 MB / 0.6754 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001947/0.4094, allocations: 1.26 MB / 0.6766 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4105, allocations: 0.6179 MB / 0.6772 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.4105, allocations: 3.938 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.4106, allocations: 3.938 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.4106, allocations: 1.25 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.4111, allocations: 155.7 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.4112, allocations: 16.14 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.4113, allocations: 9.734 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.4113, allocations: 8.469 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.4114, allocations: 7.281 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4114, allocations: 1.156 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.4119, allocations: 345.7 kB / 0.6778 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.4119, allocations: 1 kB / 0.6778 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.4119, allocations: 16.11 kB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.4122, allocations: 145.1 kB / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4122, allocations: 0 / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4122, allocations: 1.219 kB / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4122, allocations: 0 / 0.6779 GB, free: 14.97 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005171/0.4128, allocations: 370.1 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4128, allocations: 9.562 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.4128, allocations: 31.91 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.4129, allocations: 7.25 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.413, allocations: 165.5 kB / 0.6785 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.413, allocations: 5.656 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4131, allocations: 1.438 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4132, allocations: 41.06 kB / 0.6785 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4132, allocations: 7.938 kB / 0.6785 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.4132, allocations: 1.406 kB / 0.6785 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4132, allocations: 0 / 0.6785 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.4133, allocations: 13.98 kB / 0.6786 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.4135, allocations: 163.2 kB / 0.6787 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4137, allocations: 43.39 kB / 0.6788 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.4137, allocations: 16.33 kB / 0.6788 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.4137, allocations: 4.969 kB / 0.6788 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4138, allocations: 31.44 kB / 0.6788 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4138, allocations: 3.938 kB / 0.6788 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006339/0.4144, allocations: 311.5 kB / 0.6791 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4145, allocations: 60.75 kB / 0.6792 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.4145, allocations: 97.83 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4146, allocations: 25.7 kB / 0.6793 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.4146, allocations: 89.31 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.4147, allocations: 22.23 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.4147, allocations: 19.41 kB / 0.6794 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4148, allocations: 316.2 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.4149, allocations: 9.719 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.4149, allocations: 11.28 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.415, allocations: 32.03 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.415, allocations: 0 / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.4151, allocations: 84.59 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4151, allocations: 7.844 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4151, allocations: 0 / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4151, allocations: 0 / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.4152, allocations: 9.844 kB / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4152, allocations: 1.125 kB / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.4152, allocations: 0 / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4152, allocations: 2.031 kB / 0.6799 GB, free: 12.93 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 (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 8.053e-05/0.4153, allocations: 112 kB / 0.68 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.4153, allocations: 10.19 kB / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.4155, allocations: 78.02 kB / 0.68 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4155, allocations: 1.688 kB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4155, allocations: 0 / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4155, allocations: 0 / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.4159, allocations: 316 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4159, allocations: 5.203 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.416, allocations: 14.38 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.416, allocations: 0 / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.416, allocations: 5.312 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.416, allocations: 1.344 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.416, allocations: 1.344 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.4162, allocations: 181.4 kB / 0.6806 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4163, allocations: 79.92 kB / 0.6806 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4163, allocations: 1.5 kB / 0.6806 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.4164, allocations: 7.984 kB / 0.6806 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.4164, allocations: 15.28 kB / 0.6807 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4164, allocations: 2.734 kB / 0.6807 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.4165, allocations: 77.47 kB / 0.6807 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4165, allocations: 0 / 0.6807 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002429/0.4167, allocations: 22.58 kB / 0.6807 GB, free: 12.03 MB / 0.5137 GB 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.0005893/0.4173, allocations: 0.7417 MB / 0.6815 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.4174, allocations: 37.11 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4174, allocations: 0 / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.4175, allocations: 23.77 kB / 0.6815 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4177, allocations: 9.484 kB / 0.6815 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.419, allocations: 1.335 MB / 0.6828 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4194, allocations: 0.6795 MB / 0.6835 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.4194, allocations: 7.406 kB / 0.6835 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4194, allocations: 10.94 kB / 0.6835 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4194, allocations: 0 / 0.6835 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.4433, allocations: 1.619 MB / 0.6851 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.355, allocations: 6.828 kB / 0.6851 GB, free: 8.438 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)