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-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_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.005045/0.005045, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001265/0.001265, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 60.03 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3784, allocations: 82.04 MB / 0.6754 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002375/0.3808, allocations: 1.459 MB / 0.6769 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.382, allocations: 0.6384 MB / 0.6775 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.3821, allocations: 5.469 kB / 0.6775 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.3821, allocations: 3.938 kB / 0.6775 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.3822, allocations: 9.109 kB / 0.6775 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.3829, allocations: 162.6 kB / 0.6776 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.383, allocations: 46.58 kB / 0.6777 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.3831, allocations: 11.52 kB / 0.6777 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.3831, allocations: 21.66 kB / 0.6777 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.3832, allocations: 31.86 kB / 0.6778 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3832, allocations: 3.438 kB / 0.6778 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.3838, allocations: 344.2 kB / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.3839, allocations: 15.23 kB / 0.6781 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.3839, allocations: 23.22 kB / 0.6781 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3842, allocations: 175.9 kB / 0.6783 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3842, allocations: 5.062 kB / 0.6783 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3843, allocations: 0 / 0.6783 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3843, allocations: 3.938 kB / 0.6783 GB, free: 14.93 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.0006677/0.3849, allocations: 410.5 kB / 0.6787 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.385, allocations: 10.25 kB / 0.6787 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.385, allocations: 36.97 kB / 0.6787 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.3851, allocations: 5.375 kB / 0.6787 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3852, allocations: 169.4 kB / 0.6789 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3853, allocations: 7.906 kB / 0.6789 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3853, allocations: 8.688 kB / 0.6789 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3856, allocations: 78.78 kB / 0.679 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3856, allocations: 9.062 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3856, allocations: 5.125 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3856, allocations: 1.062 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.3859, allocations: 52.17 kB / 0.6791 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.3865, allocations: 321.3 kB / 0.6794 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3868, allocations: 87.88 kB / 0.6794 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.387, allocations: 26.19 kB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.387, allocations: 1.219 kB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.387, allocations: 31.91 kB / 0.6795 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.387, allocations: 0 / 0.6795 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001795/0.3888, allocations: 0.6531 MB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3889, allocations: 56.47 kB / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.389, allocations: 107.5 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.389, allocations: 30.73 kB / 0.6803 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.3891, allocations: 86.09 kB / 0.6804 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.3891, allocations: 43.98 kB / 0.6805 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3892, allocations: 30.73 kB / 0.6805 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3893, allocations: 315.7 kB / 0.6808 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3895, allocations: 35.45 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3896, allocations: 38.91 kB / 0.6809 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3899, allocations: 79.33 kB / 0.6809 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3899, allocations: 0 / 0.6809 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003398/0.3903, allocations: 115 kB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3903, allocations: 5 kB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3903, allocations: 1.406 kB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3903, allocations: 0 / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3905, allocations: 32.89 kB / 0.6811 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3905, allocations: 5.062 kB / 0.6811 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.3906, allocations: 11.23 kB / 0.6811 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3906, allocations: 2.188 kB / 0.6811 GB, free: 12.3 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 0.0001025/0.3907, allocations: 113.1 kB / 0.6812 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3908, allocations: 7.516 kB / 0.6812 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.3912, allocations: 131 kB / 0.6813 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3912, allocations: 6.141 kB / 0.6813 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3912, allocations: 3.938 kB / 0.6813 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3912, allocations: 0 / 0.6813 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.3918, allocations: 377.2 kB / 0.6817 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3918, allocations: 0.9062 kB / 0.6817 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.392, allocations: 35.5 kB / 0.6817 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.392, allocations: 5.094 kB / 0.6817 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.392, allocations: 5.062 kB / 0.6817 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.392, allocations: 1.188 kB / 0.6817 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.392, allocations: 0 / 0.6817 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.3926, allocations: 248.6 kB / 0.682 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3926, allocations: 82.19 kB / 0.6821 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3927, allocations: 5.062 kB / 0.6821 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3928, allocations: 16.86 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3928, allocations: 3.156 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3928, allocations: 7.516 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.3929, allocations: 83.16 kB / 0.6822 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3929, allocations: 0 / 0.6822 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002858/0.3932, allocations: 37.16 kB / 0.6822 GB, free: 11.3 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.0009892/0.3942, allocations: 0.8216 MB / 0.683 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.3945, allocations: 83.83 kB / 0.6831 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3946, allocations: 0 / 0.6831 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3947, allocations: 47.75 kB / 0.6831 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3951, allocations: 13.02 kB / 0.6831 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3973, allocations: 1.606 MB / 0.6847 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3976, allocations: 0.6948 MB / 0.6854 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.431e-05/0.3977, allocations: 11.53 kB / 0.6854 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3978, allocations: 22.31 kB / 0.6854 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3978, allocations: 0 / 0.6854 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.4227, allocations: 2.364 MB / 0.6877 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.029, allocations: 14.61 kB / 0.6878 GB, free: 7.141 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)