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.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.001718/0.001718, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.002124/0.002124, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.659/1.659, allocations: 230.6 MB / 252.8 MB, free: 8.996 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 1.042/1.042, allocations: 145 MB / 453.8 MB, free: 0.7344 MB / 350.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_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"}) [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.002103/0.002103, allocations: 70.64 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2231, allocations: 87.82 MB / 0.7138 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003077/0.2262, allocations: 1.281 MB / 0.715 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2276, allocations: 0.6191 MB / 0.7157 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.2276, allocations: 0 / 0.7157 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.2276, allocations: 3.938 kB / 0.7157 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.2277, allocations: 0 / 0.7157 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.2285, allocations: 151.4 kB / 0.7158 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.2286, allocations: 19.94 kB / 0.7158 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.2286, allocations: 0 / 0.7158 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.2287, allocations: 15.86 kB / 0.7158 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.2288, allocations: 11.98 kB / 0.7158 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2288, allocations: 0 / 0.7158 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.2293, allocations: 339.4 kB / 0.7162 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2293, allocations: 3.984 kB / 0.7162 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.2294, allocations: 15.94 kB / 0.7162 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2297, allocations: 147.8 kB / 0.7163 GB, free: 256 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2297, allocations: 0 / 0.7163 GB, free: 256 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2297, allocations: 0 / 0.7163 GB, free: 256 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2297, allocations: 0 / 0.7163 GB, free: 256 kB / 0.5294 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.0005781/0.2303, allocations: 359.1 kB / 0.7167 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2304, allocations: 16.02 kB / 0.7167 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.2304, allocations: 30.75 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2304, allocations: 8.891 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2306, allocations: 168.3 kB / 0.7169 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2306, allocations: 4.375 kB / 0.7169 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.2306, allocations: 8.375 kB / 0.7169 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2308, allocations: 34.25 kB / 0.7169 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2308, allocations: 7.875 kB / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2308, allocations: 4 kB / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2308, allocations: 0 / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.2308, allocations: 11.98 kB / 0.717 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.231, allocations: 153.7 kB / 0.7171 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.2313, allocations: 54.48 kB / 0.7172 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.2313, allocations: 16.86 kB / 0.7172 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2313, allocations: 0 / 0.7172 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2314, allocations: 34.56 kB / 0.7172 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2314, allocations: 0 / 0.7172 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007909/0.2322, allocations: 318.2 kB / 0.7175 GB, free: 14.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2322, allocations: 55.41 kB / 0.7176 GB, free: 14.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.2323, allocations: 93.86 kB / 0.7176 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2323, allocations: 29.7 kB / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2324, allocations: 84.14 kB / 0.7178 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2324, allocations: 23.72 kB / 0.7178 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.2324, allocations: 17.72 kB / 0.7178 GB, free: 14.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2326, allocations: 322.8 kB / 0.7181 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.2326, allocations: 8 kB / 0.7181 GB, free: 14.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.2326, allocations: 12 kB / 0.7181 GB, free: 14.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.2327, allocations: 37 kB / 0.7182 GB, free: 14.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2327, allocations: 0 / 0.7182 GB, free: 14.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/0.2328, allocations: 65.62 kB / 0.7182 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2328, allocations: 4 kB / 0.7182 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2328, allocations: 0 / 0.7182 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2329, allocations: 3.984 kB / 0.7182 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.2329, allocations: 19.94 kB / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2329, allocations: 0 / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.233, allocations: 0 / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.233, allocations: 4 kB / 0.7182 GB, free: 14 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 (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.595e-05/0.2331, allocations: 113.8 kB / 0.7184 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.2331, allocations: 3.938 kB / 0.7184 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.2332, allocations: 85.52 kB / 0.7184 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2332, allocations: 0 / 0.7184 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2333, allocations: 0 / 0.7184 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2333, allocations: 3.938 kB / 0.7184 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.2337, allocations: 319.5 kB / 0.7188 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.2337, allocations: 4 kB / 0.7188 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.2337, allocations: 15.92 kB / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2337, allocations: 0 / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2337, allocations: 4 kB / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2337, allocations: 0 / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2337, allocations: 0 / 0.7188 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.234, allocations: 180.4 kB / 0.7189 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.234, allocations: 89.09 kB / 0.719 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.234, allocations: 0 / 0.719 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.2341, allocations: 4 kB / 0.719 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.2341, allocations: 3.984 kB / 0.719 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2342, allocations: 4 kB / 0.719 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.2342, allocations: 83.73 kB / 0.7191 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2342, allocations: 0 / 0.7191 GB, free: 12.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002818/0.2345, allocations: 23.88 kB / 0.7191 GB, free: 12.97 MB / 0.545 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.0006552/0.2351, allocations: 0.7367 MB / 0.7199 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2353, allocations: 31.92 kB / 0.7199 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2353, allocations: 0 / 0.7199 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.2353, allocations: 16.11 kB / 0.7199 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2356, allocations: 16.52 kB / 0.7199 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2371, allocations: 1.322 MB / 0.7212 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2374, allocations: 0.6885 MB / 0.7219 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.2375, allocations: 7.984 kB / 0.7219 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2375, allocations: 15.44 kB / 0.7219 GB, free: 10 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.2375, allocations: 0 / 0.7219 GB, free: 10 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2654, allocations: 1.635 MB / 0.7235 GB, free: 8.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.428, allocations: 11.8 kB / 0.7235 GB, free: 8.539 MB / 0.545 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.60146051600168] Failed to read output from testmodel.py, exit status != 0: 8.500154122986714 8.521397607 8.288356046 Calling exit ...