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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002699/0.002699, allocations: 216.9 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9024/0.9024, allocations: 145 MB / 457.4 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 66.3 kB / 0.6332 GB, free: 7.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2092, allocations: 87.89 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002811/0.212, allocations: 1.487 MB / 0.7205 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2132, allocations: 0.6466 MB / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.2132, allocations: 0 / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.2133, allocations: 3.938 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2133, allocations: 19.91 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.214, allocations: 155.4 kB / 0.7213 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2141, allocations: 55.59 kB / 0.7213 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.2141, allocations: 4 kB / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.2142, allocations: 15.94 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.2142, allocations: 35.83 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2142, allocations: 4 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.2148, allocations: 351.3 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2148, allocations: 11.97 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2149, allocations: 27.86 kB / 0.7217 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.2152, allocations: 175.3 kB / 0.7219 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2152, allocations: 0 / 0.7219 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2152, allocations: 0 / 0.7219 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2152, allocations: 0 / 0.7219 GB, free: 12.46 MB / 0.545 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.0006522/0.2158, allocations: 325.8 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2159, allocations: 12.03 kB / 0.7222 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.2159, allocations: 38.75 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.216, allocations: 8.891 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2161, allocations: 110.5 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.2161, allocations: 12.31 kB / 0.7224 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2162, allocations: 4.375 kB / 0.7224 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2164, allocations: 78.22 kB / 0.7225 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2164, allocations: 3.938 kB / 0.7225 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.2165, allocations: 8 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2165, allocations: 7.938 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.2167, allocations: 51.95 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.2173, allocations: 295.7 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.2176, allocations: 74.53 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2177, allocations: 32.84 kB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2177, allocations: 3.984 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.2178, allocations: 34.56 kB / 0.723 GB, free: 11.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2178, allocations: 0 / 0.723 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001616/0.2194, allocations: 0.5074 MB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.2195, allocations: 55.34 kB / 0.7235 GB, free: 10.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.2195, allocations: 105.8 kB / 0.7236 GB, free: 10.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2196, allocations: 33.7 kB / 0.7236 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.2196, allocations: 84.14 kB / 0.7237 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2197, allocations: 43.64 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.2197, allocations: 25.7 kB / 0.7238 GB, free: 10.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2199, allocations: 318.8 kB / 0.7241 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.22, allocations: 31.97 kB / 0.7241 GB, free: 9.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2201, allocations: 30.61 kB / 0.7242 GB, free: 9.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2203, allocations: 76.83 kB / 0.7242 GB, free: 9.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2203, allocations: 0 / 0.7242 GB, free: 9.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003292/0.2207, allocations: 121.7 kB / 0.7243 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2207, allocations: 11.98 kB / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2207, allocations: 0 / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2207, allocations: 0 / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2209, allocations: 23.98 kB / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2209, allocations: 3.938 kB / 0.7244 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.221, allocations: 12 kB / 0.7244 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.221, allocations: 4 kB / 0.7244 GB, free: 9.672 MB / 0.545 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 9.785e-05/0.2211, allocations: 122.9 kB / 0.7245 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2211, allocations: 0 / 0.7245 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.2215, allocations: 129.6 kB / 0.7246 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2215, allocations: 0 / 0.7246 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2215, allocations: 3.938 kB / 0.7246 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2215, allocations: 3.984 kB / 0.7246 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.2221, allocations: 357.5 kB / 0.725 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2221, allocations: 0 / 0.725 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2222, allocations: 31.92 kB / 0.725 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.2222, allocations: 7.938 kB / 0.725 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2222, allocations: 0 / 0.725 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2222, allocations: 3.984 kB / 0.725 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2222, allocations: 0 / 0.725 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.2228, allocations: 251.4 kB / 0.7253 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.2228, allocations: 4.031 kB / 0.7253 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2228, allocations: 7.938 kB / 0.7253 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2229, allocations: 8 kB / 0.7253 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.2229, allocations: 7.984 kB / 0.7253 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2229, allocations: 7.938 kB / 0.7253 GB, free: 8.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.223, allocations: 87.52 kB / 0.7254 GB, free: 8.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.223, allocations: 0 / 0.7254 GB, free: 8.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000297/0.2233, allocations: 39.81 kB / 0.7254 GB, free: 8.535 MB / 0.545 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.0009356/0.2242, allocations: 0.8183 MB / 0.7262 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.2246, allocations: 78.38 kB / 0.7263 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2246, allocations: 0 / 0.7263 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2247, allocations: 47.84 kB / 0.7263 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.225, allocations: 15.84 kB / 0.7264 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2273, allocations: 1.603 MB / 0.7279 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.2277, allocations: 0.6931 MB / 0.7286 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.941e-05/0.2278, allocations: 20.59 kB / 0.7286 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.2278, allocations: 19.44 kB / 0.7286 GB, free: 5.117 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.2278, allocations: 0 / 0.7286 GB, free: 5.117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.2588, allocations: 2.487 MB / 0.7311 GB, free: 2.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.36, allocations: 10.47 kB / 0.7311 GB, free: 2.805 MB / 0.545 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.158506725001644] Failed to read output from testmodel.py, exit status != 0: 11.469095927001035 11.494502691 11.274121053 Calling exit ...