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.001303/0.001303, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001534/0.001534, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.785 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.8882/0.8882, allocations: 145 MB / 457.4 MB, free: 15.26 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.002315/0.002315, allocations: 70.89 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1888, allocations: 87.88 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003417/0.1922, allocations: 1.479 MB / 0.7204 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1936, allocations: 0.5649 MB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1937, allocations: 0 / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.1937, allocations: 7.938 kB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.1938, allocations: 3.938 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.1947, allocations: 171.3 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1948, allocations: 51.61 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.1948, allocations: 3.984 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.1949, allocations: 19.94 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.195, allocations: 27.89 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.195, allocations: 4 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.1955, allocations: 267.5 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.1955, allocations: 19.92 kB / 0.7215 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1956, allocations: 15.94 kB / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1959, allocations: 179.3 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1959, allocations: 0 / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1959, allocations: 0 / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1959, allocations: 0 / 0.7217 GB, free: 12.02 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.0006532/0.1965, allocations: 321.8 kB / 0.722 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1966, allocations: 12.03 kB / 0.722 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1966, allocations: 42.62 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1967, allocations: 8.891 kB / 0.722 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1968, allocations: 106.5 kB / 0.7221 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1969, allocations: 12.38 kB / 0.7221 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.1969, allocations: 8.359 kB / 0.7221 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1972, allocations: 129.6 kB / 0.7223 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1972, allocations: 3.938 kB / 0.7223 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1972, allocations: 4 kB / 0.7223 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1972, allocations: 4 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.1975, allocations: 51.89 kB / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.1981, allocations: 287.8 kB / 0.7226 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.1984, allocations: 78.47 kB / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1985, allocations: 28.84 kB / 0.7227 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1985, allocations: 7.922 kB / 0.7227 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1985, allocations: 34.56 kB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1985, allocations: 0 / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0016/0.2001, allocations: 0.5035 MB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.2002, allocations: 51.41 kB / 0.7233 GB, free: 10.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.2003, allocations: 105.8 kB / 0.7234 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2003, allocations: 29.7 kB / 0.7234 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.2003, allocations: 84.12 kB / 0.7235 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.2004, allocations: 39.66 kB / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.2004, allocations: 33.7 kB / 0.7236 GB, free: 9.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2006, allocations: 318.8 kB / 0.7239 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2008, allocations: 31.98 kB / 0.7239 GB, free: 9.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2009, allocations: 38.53 kB / 0.7239 GB, free: 9.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2011, allocations: 68.83 kB / 0.724 GB, free: 9.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2011, allocations: 0 / 0.724 GB, free: 9.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003266/0.2014, allocations: 125.7 kB / 0.7241 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2015, allocations: 4 kB / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.2015, allocations: 0 / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2015, allocations: 0 / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2016, allocations: 27.92 kB / 0.7242 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2016, allocations: 11.92 kB / 0.7242 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.2017, allocations: 15.92 kB / 0.7242 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2017, allocations: 0 / 0.7242 GB, free: 9.172 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.85e-05/0.2018, allocations: 113.8 kB / 0.7243 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.2018, allocations: 4 kB / 0.7243 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.2022, allocations: 141.5 kB / 0.7244 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2022, allocations: 4 kB / 0.7244 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2022, allocations: 3.938 kB / 0.7244 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2022, allocations: 0 / 0.7244 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.2028, allocations: 345.6 kB / 0.7248 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2028, allocations: 4 kB / 0.7248 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.203, allocations: 27.92 kB / 0.7248 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.203, allocations: 7.938 kB / 0.7248 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.203, allocations: 7.984 kB / 0.7248 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.203, allocations: 4 kB / 0.7248 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.203, allocations: 0 / 0.7248 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2035, allocations: 247.4 kB / 0.725 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.2036, allocations: 4.031 kB / 0.7251 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2036, allocations: 3.938 kB / 0.7251 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2037, allocations: 7.984 kB / 0.7251 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.2037, allocations: 12.06 kB / 0.7251 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2037, allocations: 7.984 kB / 0.7251 GB, free: 8.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.2038, allocations: 75.28 kB / 0.7252 GB, free: 8.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2038, allocations: 4 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002804/0.204, allocations: 35.88 kB / 0.7252 GB, free: 8.043 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.000945/0.205, allocations: 0.8284 MB / 0.726 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.2053, allocations: 84 kB / 0.7261 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2053, allocations: 0 / 0.7261 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.2054, allocations: 43.97 kB / 0.7261 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2058, allocations: 8 kB / 0.7261 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2079, allocations: 1.608 MB / 0.7277 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.208, allocations: 80.02 kB / 0.7278 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.2081, allocations: 20.59 kB / 0.7278 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.2081, allocations: 23.44 kB / 0.7278 GB, free: 5.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2081, allocations: 0 / 0.7278 GB, free: 5.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.2397, allocations: 2.863 MB / 0.7306 GB, free: 2.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.66, allocations: 11.55 kB / 0.7306 GB, free: 2.555 MB / 0.545 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 15.289587372913957] Failed to read output from testmodel.py, exit status != 0: 11.770510280970484 11.794969759 11.594759287 Calling exit ...