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.001706/0.001706, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002018/0.002018, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.9209/0.9209, allocations: 145 MB / 458.2 MB, free: 15.51 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="cs",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="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.002025/0.002025, allocations: 72.44 kB / 0.6339 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1903, allocations: 87.88 MB / 0.7198 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002505/0.1928, allocations: 1.306 MB / 0.721 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1939, allocations: 0.6149 MB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.1939, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.194, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.194, allocations: 3.938 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.1945, allocations: 154.4 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.1946, allocations: 23.92 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.1947, allocations: 0 / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.1947, allocations: 19.86 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.1947, allocations: 7.984 kB / 0.7218 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1948, allocations: 0 / 0.7218 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.1953, allocations: 343.3 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1953, allocations: 7.938 kB / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.1954, allocations: 15.92 kB / 0.7222 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1956, allocations: 139.6 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1956, allocations: 0 / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1956, allocations: 0 / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1956, allocations: 4 kB / 0.7223 GB, free: 12.78 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.000429/0.1961, allocations: 286 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1961, allocations: 12.03 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.347e-05/0.1961, allocations: 192 / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.1961, allocations: 30.75 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1962, allocations: 12.89 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1963, allocations: 102.5 kB / 0.7228 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-06/0.1963, allocations: 384 / 0.7228 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1963, allocations: 4.375 kB / 0.7228 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1964, allocations: 46 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1964, allocations: 3.938 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1964, allocations: 4 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1964, allocations: 0 / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.1965, allocations: 15.98 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1967, allocations: 132.7 kB / 0.7229 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1968, allocations: 38.61 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.1969, allocations: 16.86 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1969, allocations: 4 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1969, allocations: 46.52 kB / 0.723 GB, free: 11.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.1969, allocations: 3.984 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006034/0.1975, allocations: 229.1 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1976, allocations: 55.41 kB / 0.7233 GB, free: 11.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.1976, allocations: 101.9 kB / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1977, allocations: 29.69 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.1977, allocations: 80.14 kB / 0.7235 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1977, allocations: 23.8 kB / 0.7235 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1978, allocations: 17.72 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1979, allocations: 314.8 kB / 0.7239 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.1979, allocations: 12 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.198, allocations: 12 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.198, allocations: 32.84 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.198, allocations: 0 / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/0.1981, allocations: 73.56 kB / 0.724 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1981, allocations: 8 kB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1981, allocations: 0 / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1981, allocations: 3.938 kB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.1982, allocations: 8 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1982, allocations: 0 / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1982, allocations: 4 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1982, allocations: 0 / 0.724 GB, free: 10.83 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 7.72e-05/0.1983, allocations: 113.8 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.1983, allocations: 11.92 kB / 0.7241 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.1985, allocations: 73.64 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1985, allocations: 0 / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1985, allocations: 4 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1985, allocations: 0 / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.1988, allocations: 290.4 kB / 0.7245 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1988, allocations: 7.953 kB / 0.7245 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.1989, allocations: 16.19 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1989, allocations: 0 / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1989, allocations: 4 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1989, allocations: 240 / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1989, allocations: 0 / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1991, allocations: 188.2 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.1992, allocations: 7.984 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1992, allocations: 4.062 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.1992, allocations: 7.984 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.1993, allocations: 4 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1993, allocations: 0 / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.1993, allocations: 79.28 kB / 0.7248 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1993, allocations: 0 / 0.7248 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002555/0.1996, allocations: 27.92 kB / 0.7248 GB, free: 9.914 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.0005841/0.2002, allocations: 0.7316 MB / 0.7255 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.2003, allocations: 31.98 kB / 0.7256 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2003, allocations: 0 / 0.7256 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.2003, allocations: 23.92 kB / 0.7256 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.2005, allocations: 0 / 0.7256 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2019, allocations: 1.34 MB / 0.7269 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2022, allocations: 0.6846 MB / 0.7276 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2022, allocations: 8.031 kB / 0.7276 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2022, allocations: 11.44 kB / 0.7276 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2022, allocations: 0 / 0.7276 GB, free: 6.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2253, allocations: 1.774 MB / 0.7293 GB, free: 5.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.38, allocations: 12.75 kB / 0.7293 GB, free: 5.348 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 sys.exit(0), Time elapsed: 15.178952593007125] Failed to read output from testmodel.py, exit status != 0: 11.541796311968938 11.563216281 11.363407783 Calling exit ...