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.001322/0.001322, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001471/0.001471, allocations: 215.6 kB / 22.25 MB, free: 4.855 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.805 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.9117/0.9117, allocations: 145 MB / 457.4 MB, free: 15.77 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_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.002084/0.002084, allocations: 70.41 kB / 0.6331 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1985, allocations: 87.87 MB / 0.7189 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002604/0.2011, allocations: 1.29 MB / 0.7202 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2022, allocations: 0.541 MB / 0.7207 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.2022, allocations: 0 / 0.7207 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2022, allocations: 3.938 kB / 0.7207 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.2023, allocations: 4 kB / 0.7207 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.2028, allocations: 143.4 kB / 0.7208 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.2029, allocations: 19.92 kB / 0.7209 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.2029, allocations: 4 kB / 0.7209 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.203, allocations: 7.938 kB / 0.7209 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.203, allocations: 19.97 kB / 0.7209 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2031, allocations: 0 / 0.7209 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.2035, allocations: 271.4 kB / 0.7212 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.2035, allocations: 3.938 kB / 0.7212 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.2035, allocations: 11.98 kB / 0.7212 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.2038, allocations: 135.5 kB / 0.7213 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2038, allocations: 0 / 0.7213 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2038, allocations: 0 / 0.7213 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2038, allocations: 0 / 0.7213 GB, free: 12.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004268/0.2042, allocations: 290 kB / 0.7216 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2043, allocations: 8.031 kB / 0.7216 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.2043, allocations: 34.75 kB / 0.7216 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.2043, allocations: 8.891 kB / 0.7216 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2044, allocations: 106.5 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2044, allocations: 4.375 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2045, allocations: 12.36 kB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2046, allocations: 67.89 kB / 0.7218 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2046, allocations: 7.938 kB / 0.7218 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.2046, allocations: 0 / 0.7218 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2046, allocations: 0 / 0.7218 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.2047, allocations: 11.92 kB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.2048, allocations: 136.7 kB / 0.722 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.205, allocations: 38.61 kB / 0.722 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.2051, allocations: 20.94 kB / 0.722 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.2051, allocations: 0 / 0.722 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2051, allocations: 30.56 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2051, allocations: 0 / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005937/0.2057, allocations: 237.1 kB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2057, allocations: 55.34 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.2058, allocations: 101.8 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2058, allocations: 25.7 kB / 0.7224 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.2059, allocations: 88.14 kB / 0.7225 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2059, allocations: 19.8 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.2059, allocations: 25.7 kB / 0.7226 GB, free: 11.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2061, allocations: 310.8 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2061, allocations: 15.98 kB / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.2061, allocations: 8 kB / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.2062, allocations: 33 kB / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2062, allocations: 0 / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.2063, allocations: 73.56 kB / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2063, allocations: 4 kB / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2063, allocations: 4 kB / 0.723 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2063, allocations: 4 kB / 0.723 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.2064, allocations: 11.98 kB / 0.723 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2064, allocations: 0 / 0.723 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.2064, allocations: 3.938 kB / 0.723 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2064, allocations: 4 kB / 0.723 GB, free: 10.53 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.125e-05/0.2065, allocations: 109.8 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2065, allocations: 8.453 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.2066, allocations: 77.62 kB / 0.7232 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2067, allocations: 0 / 0.7232 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2067, allocations: 8 kB / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2067, allocations: 3.938 kB / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.207, allocations: 282.6 kB / 0.7235 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.207, allocations: 8 kB / 0.7235 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.2071, allocations: 15.98 kB / 0.7235 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2071, allocations: 0 / 0.7235 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2071, allocations: 4 kB / 0.7235 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2071, allocations: 0 / 0.7235 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2071, allocations: 4 kB / 0.7235 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2073, allocations: 176.3 kB / 0.7237 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.2073, allocations: 8.078 kB / 0.7237 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2073, allocations: 4 kB / 0.7237 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.2074, allocations: 4 kB / 0.7237 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.2074, allocations: 11.92 kB / 0.7237 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2074, allocations: 4 kB / 0.7237 GB, free: 9.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.2075, allocations: 75.28 kB / 0.7238 GB, free: 9.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2075, allocations: 0 / 0.7238 GB, free: 9.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002519/0.2077, allocations: 23.92 kB / 0.7238 GB, free: 9.629 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.0005749/0.2083, allocations: 0.7327 MB / 0.7245 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2084, allocations: 39.98 kB / 0.7246 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2084, allocations: 0 / 0.7246 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.2084, allocations: 19.92 kB / 0.7246 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2087, allocations: 4.812 kB / 0.7246 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2099, allocations: 1.331 MB / 0.7259 GB, free: 7.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.21, allocations: 63.34 kB / 0.726 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.21, allocations: 4 kB / 0.726 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.2101, allocations: 15.44 kB / 0.726 GB, free: 7.289 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2101, allocations: 0 / 0.726 GB, free: 7.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.2403, allocations: 2.114 MB / 0.728 GB, free: 5.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.43, allocations: 0.75 kB / 0.728 GB, free: 5.348 MB / 0.545 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 15.092467823065817] Failed to read output from testmodel.py, exit status != 0: 11.536542540881783 11.553431136 11.346447101 Calling exit ...