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/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_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.007187/0.007186, allocations: 99.8 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.001397/0.001397, allocations: 191 kB / 16.67 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.9561/0.9561, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 0.5951 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3939, 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_DerivativeCheck): time 0.001856/0.3958, allocations: 1.25 MB / 0.6764 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.3968, allocations: 0.6269 MB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.3968, allocations: 0 / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3968, allocations: 0 / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.3969, allocations: 9.25 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3974, allocations: 144.2 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.3974, allocations: 16.67 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.3975, allocations: 6.328 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.3975, allocations: 11.27 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.3976, allocations: 7.312 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3976, allocations: 1.062 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.398, allocations: 346.4 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.3981, allocations: 5.219 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.3981, allocations: 11.69 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3983, allocations: 153.2 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3984, allocations: 1 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3984, allocations: 0 / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3984, allocations: 0 / 0.6777 GB, free: 15.24 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.0003729/0.3988, allocations: 358.9 kB / 0.678 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3988, allocations: 10.28 kB / 0.678 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.3988, allocations: 34.73 kB / 0.6781 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.3989, allocations: 7.219 kB / 0.6781 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.399, allocations: 165.5 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.399, allocations: 5.469 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.399, allocations: 1.75 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.491e-05/0.3991, allocations: 41.56 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3991, allocations: 3.938 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.3991, allocations: 0 / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3991, allocations: 1.25 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.3992, allocations: 13.48 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.3993, allocations: 167.7 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3995, allocations: 39.25 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.3996, allocations: 16.64 kB / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3996, allocations: 1.438 kB / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3996, allocations: 34.5 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3996, allocations: 0 / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005663/0.4002, allocations: 332.7 kB / 0.6789 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.4002, allocations: 52.56 kB / 0.6789 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.4003, allocations: 96.73 kB / 0.679 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4003, allocations: 27.11 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.4003, allocations: 80.14 kB / 0.6791 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4004, allocations: 26.53 kB / 0.6791 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.4004, allocations: 19.22 kB / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4005, allocations: 316 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.4006, allocations: 14.64 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.4006, allocations: 10.78 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.4006, allocations: 27.64 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4006, allocations: 0 / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.872e-05/0.4008, allocations: 81.16 kB / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4008, allocations: 5.812 kB / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4008, allocations: 0 / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4008, allocations: 0 / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.4008, allocations: 13.58 kB / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4009, allocations: 5.094 kB / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.4009, allocations: 1.062 kB / 0.6796 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.4009, allocations: 1.219 kB / 0.6796 GB, free: 13.21 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 6.546e-05/0.401, allocations: 112 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.401, allocations: 6.25 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.4011, allocations: 78.08 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4011, allocations: 1.312 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4011, allocations: 0 / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4011, allocations: 1.219 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4014, allocations: 315.5 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4014, allocations: 0 / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.4015, allocations: 19.55 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4015, allocations: 0 / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.4015, allocations: 0.9688 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4015, allocations: 1.094 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4015, allocations: 0 / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.4017, allocations: 190.1 kB / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.4018, allocations: 87.31 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4018, allocations: 2.188 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.4019, allocations: 1.125 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.4019, allocations: 10.14 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4019, allocations: 2.188 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.4019, allocations: 77.47 kB / 0.6805 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4019, allocations: 1.25 kB / 0.6805 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002387/0.4022, allocations: 22.53 kB / 0.6805 GB, free: 12.31 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.0004594/0.4027, allocations: 0.7433 MB / 0.6812 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4028, allocations: 31.8 kB / 0.6813 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4028, allocations: 5.5 kB / 0.6813 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.4028, allocations: 19.25 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.403, allocations: 7.094 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4041, allocations: 1.318 MB / 0.6826 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.4044, allocations: 0.6833 MB / 0.6832 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.4044, allocations: 7.016 kB / 0.6833 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.4044, allocations: 10.81 kB / 0.6833 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4044, allocations: 1.031 kB / 0.6833 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4224, allocations: 1.624 MB / 0.6848 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.844, allocations: 15.31 kB / 0.6849 GB, free: 8.723 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)