Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001471/0.001471, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001909/0.001909, allocations: 214 kB / 22.25 MB, free: 5.258 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.797 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.021/1.021, allocations: 145 MB / 457.4 MB, free: 15.3 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_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002073/0.002073, allocations: 67.53 kB / 0.6331 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1883, allocations: 87.89 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002945/0.1912, allocations: 1.283 MB / 0.7202 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1924, allocations: 0.5488 MB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.1924, allocations: 0 / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.1925, allocations: 0 / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.1925, allocations: 7.875 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.1932, allocations: 151.4 kB / 0.7209 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.1933, allocations: 19.92 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.1934, allocations: 4 kB / 0.7209 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.1934, allocations: 8 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.1935, allocations: 11.92 kB / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1935, allocations: 0 / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.1941, allocations: 267.4 kB / 0.7212 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.1941, allocations: 11.98 kB / 0.7212 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1941, allocations: 7.938 kB / 0.7212 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1944, allocations: 135.6 kB / 0.7213 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1944, allocations: 3.938 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1944, allocations: 4 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1944, allocations: 0 / 0.7213 GB, free: 12.39 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.0004964/0.1949, allocations: 278 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.195, allocations: 16.02 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.195, allocations: 30.75 kB / 0.7216 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1951, allocations: 12.89 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1952, allocations: 118.4 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1952, allocations: 384 / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1953, allocations: 4.375 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1955, allocations: 63.95 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1955, allocations: 7.938 kB / 0.7218 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1955, allocations: 4 kB / 0.7218 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1955, allocations: 0 / 0.7218 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.1956, allocations: 7.984 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.1958, allocations: 128.8 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.196, allocations: 42.55 kB / 0.722 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.1961, allocations: 20.94 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1961, allocations: 0 / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1961, allocations: 30.56 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1961, allocations: 0 / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0008289/0.197, allocations: 245 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.197, allocations: 51.41 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.1971, allocations: 101.8 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1972, allocations: 25.7 kB / 0.7225 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.1972, allocations: 84.14 kB / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1972, allocations: 19.8 kB / 0.7226 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.1973, allocations: 25.7 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1974, allocations: 310.8 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.1975, allocations: 15.98 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.1975, allocations: 19.86 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.1976, allocations: 28.86 kB / 0.7229 GB, free: 10.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1976, allocations: 4 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.1977, allocations: 69.62 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1977, allocations: 4 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1977, allocations: 0 / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1978, allocations: 4.516 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.1978, allocations: 8 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1978, allocations: 7.922 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.1978, allocations: 0 / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1979, allocations: 4 kB / 0.723 GB, free: 10.4 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 9.684e-05/0.198, allocations: 112.9 kB / 0.7231 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.198, allocations: 11.94 kB / 0.7232 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1981, allocations: 69.7 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1981, allocations: 3.984 kB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1981, allocations: 3.984 kB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1982, allocations: 4 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1985, allocations: 282.6 kB / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1985, allocations: 0 / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1986, allocations: 19.98 kB / 0.7235 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1986, allocations: 0 / 0.7235 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1986, allocations: 0 / 0.7235 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1986, allocations: 11.91 kB / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1986, allocations: 0 / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1989, allocations: 180.3 kB / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.1989, allocations: 7.984 kB / 0.7237 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1989, allocations: 0 / 0.7237 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.199, allocations: 4 kB / 0.7237 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.199, allocations: 7.984 kB / 0.7237 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.199, allocations: 4 kB / 0.7237 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.199, allocations: 75.28 kB / 0.7238 GB, free: 9.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.199, allocations: 0 / 0.7238 GB, free: 9.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002646/0.1993, allocations: 19.94 kB / 0.7238 GB, free: 9.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0006057/0.1999, allocations: 0.7483 MB / 0.7245 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2, allocations: 39.86 kB / 0.7246 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2, allocations: 0 / 0.7246 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.2001, allocations: 11.98 kB / 0.7246 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2003, allocations: 8.812 kB / 0.7246 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2017, allocations: 1.335 MB / 0.7259 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.2018, allocations: 63.34 kB / 0.726 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.2018, allocations: 12.02 kB / 0.726 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.2019, allocations: 19.5 kB / 0.726 GB, free: 7.148 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.2019, allocations: 0 / 0.726 GB, free: 7.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.2344, allocations: 2.113 MB / 0.7281 GB, free: 5.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.67, allocations: 10.47 kB / 0.7281 GB, free: 5.195 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.449281896930188] Failed to read output from testmodel.py, exit status != 0: 11.777255637105554 11.803784589 11.604328661 Calling exit ...