Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001325/0.001325, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001605/0.001605, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.758 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.9239/0.9239, allocations: 145 MB / 458.2 MB, free: 15.27 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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",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.002135/0.002135, allocations: 67.12 kB / 0.6339 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1919, allocations: 87.88 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00293/0.1949, allocations: 1.293 MB / 0.721 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1961, allocations: 0.5488 MB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1961, allocations: 3.938 kB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.1961, allocations: 0 / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.1962, allocations: 3.938 kB / 0.7215 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.1969, allocations: 159.4 kB / 0.7217 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.197, allocations: 23.92 kB / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.1971, allocations: 4 kB / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.1971, allocations: 15.92 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.1972, allocations: 15.92 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1972, allocations: 4 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.1976, allocations: 279.5 kB / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.1977, allocations: 7.984 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1977, allocations: 11.94 kB / 0.722 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.198, allocations: 151.5 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.198, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.198, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.198, allocations: 0 / 0.7221 GB, free: 12.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004729/0.1985, allocations: 294 kB / 0.7224 GB, free: 11.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1985, allocations: 8.031 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.721e-05/0.1986, allocations: 4.188 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1986, allocations: 34.75 kB / 0.7225 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1986, allocations: 4.891 kB / 0.7225 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1988, allocations: 110.5 kB / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1988, allocations: 8.375 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1988, allocations: 4.375 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.199, allocations: 105.4 kB / 0.7227 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.199, allocations: 4 kB / 0.7227 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.199, allocations: 0 / 0.7227 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.199, allocations: 0 / 0.7227 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.1991, allocations: 19.98 kB / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1993, allocations: 136.7 kB / 0.7228 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1994, allocations: 58.5 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1995, allocations: 32.78 kB / 0.7229 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1995, allocations: 8 kB / 0.7229 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1995, allocations: 38.5 kB / 0.723 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.1995, allocations: 3.984 kB / 0.723 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.00125/0.2008, allocations: 447.9 kB / 0.7234 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2008, allocations: 55.41 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2009, allocations: 93.86 kB / 0.7235 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2009, allocations: 33.77 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.201, allocations: 84.14 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.201, allocations: 47.56 kB / 0.7237 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.2011, allocations: 25.72 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2012, allocations: 322.8 kB / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.2013, allocations: 19.98 kB / 0.7241 GB, free: 10.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.2013, allocations: 27.94 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.2014, allocations: 55.34 kB / 0.7241 GB, free: 10.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2014, allocations: 0 / 0.7241 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/0.2016, allocations: 97.62 kB / 0.7242 GB, free: 9.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2016, allocations: 4 kB / 0.7242 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2016, allocations: 4 kB / 0.7242 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2016, allocations: 0 / 0.7242 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2017, allocations: 27.92 kB / 0.7243 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2018, allocations: 0 / 0.7243 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.2018, allocations: 0 / 0.7243 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2018, allocations: 8 kB / 0.7243 GB, free: 9.875 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 0.0001509/0.2019, allocations: 117.8 kB / 0.7244 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.202, allocations: 3.953 kB / 0.7244 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.2022, allocations: 113.5 kB / 0.7245 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2022, allocations: 0 / 0.7245 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2022, allocations: 0 / 0.7245 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2022, allocations: 4 kB / 0.7245 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.2026, allocations: 317.6 kB / 0.7248 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2026, allocations: 0 / 0.7248 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2027, allocations: 27.92 kB / 0.7248 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2027, allocations: 0 / 0.7248 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2028, allocations: 0 / 0.7248 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2028, allocations: 0 / 0.7248 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2028, allocations: 0 / 0.7248 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.203, allocations: 219.4 kB / 0.725 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.203, allocations: 11.97 kB / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2031, allocations: 64 / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.2032, allocations: 8 kB / 0.7251 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.2032, allocations: 7.984 kB / 0.7251 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2032, allocations: 4 kB / 0.7251 GB, free: 8.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.2032, allocations: 75.28 kB / 0.7251 GB, free: 8.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 0.7251 GB, free: 8.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002786/0.2035, allocations: 43.81 kB / 0.7252 GB, free: 8.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0007342/0.2042, allocations: 0.7865 MB / 0.7259 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2044, allocations: 60.45 kB / 0.726 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2044, allocations: 4.156 kB / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/0.2044, allocations: 31.92 kB / 0.726 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2047, allocations: 4.219 kB / 0.726 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2064, allocations: 1.512 MB / 0.7275 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.2064, allocations: 67.34 kB / 0.7276 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.2065, allocations: 12 kB / 0.7276 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.2065, allocations: 23.42 kB / 0.7276 GB, free: 6.234 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2065, allocations: 0 / 0.7276 GB, free: 6.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.232, allocations: 2.271 MB / 0.7298 GB, free: 4.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.74, allocations: 0.75 kB / 0.7298 GB, free: 4.164 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.60541272291448] Failed to read output from testmodel.py, exit status != 0: 11.898864060989581 11.925505056 11.722534769 Calling exit ...