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.001287/0.001287, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001434/0.001434, allocations: 214.8 kB / 23.03 MB, free: 4.922 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.442/1.442, allocations: 230.6 MB / 256.8 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 0.9072/0.9072, allocations: 145 MB / 458.2 MB, free: 15.71 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="cs",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="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.002026/0.002026, allocations: 66.16 kB / 0.6339 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.198, allocations: 87.89 MB / 0.7197 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.0026/0.2006, allocations: 1.285 MB / 0.7209 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2017, allocations: 0.5487 MB / 0.7215 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.2017, allocations: 4 kB / 0.7215 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.2017, allocations: 0 / 0.7215 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.2018, allocations: 7.922 kB / 0.7215 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.2024, allocations: 146.6 kB / 0.7216 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.2024, allocations: 15.92 kB / 0.7216 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2025, allocations: 4 kB / 0.7216 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.2025, allocations: 11.94 kB / 0.7217 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.2026, allocations: 15.97 kB / 0.7217 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2026, allocations: 3.938 kB / 0.7217 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.203, allocations: 279.5 kB / 0.7219 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.203, allocations: 3.984 kB / 0.7219 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.2031, allocations: 11.98 kB / 0.722 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2033, allocations: 131.5 kB / 0.7221 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2033, allocations: 0 / 0.7221 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2033, allocations: 0 / 0.7221 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2033, allocations: 0 / 0.7221 GB, free: 12.48 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.0004313/0.2038, allocations: 286 kB / 0.7224 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2038, allocations: 8.031 kB / 0.7224 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.2038, allocations: 4.188 kB / 0.7224 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.2039, allocations: 42.67 kB / 0.7224 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2039, allocations: 4.891 kB / 0.7224 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.204, allocations: 106.5 kB / 0.7225 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.204, allocations: 4.375 kB / 0.7225 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.204, allocations: 8.312 kB / 0.7225 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.2041, allocations: 67.7 kB / 0.7226 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2042, allocations: 0 / 0.7226 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2042, allocations: 4 kB / 0.7226 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2042, allocations: 0 / 0.7226 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.2042, allocations: 12 kB / 0.7226 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.2044, allocations: 132.7 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2046, allocations: 42.55 kB / 0.7228 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.2046, allocations: 20.94 kB / 0.7228 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2046, allocations: 0 / 0.7228 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2047, allocations: 38.5 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2047, allocations: 0 / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006131/0.2053, allocations: 237.5 kB / 0.7231 GB, free: 11.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2053, allocations: 55.41 kB / 0.7231 GB, free: 11.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.2054, allocations: 101.8 kB / 0.7232 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2054, allocations: 29.7 kB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.2055, allocations: 80.14 kB / 0.7233 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2055, allocations: 23.8 kB / 0.7233 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.2056, allocations: 21.7 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2057, allocations: 310.8 kB / 0.7237 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.2057, allocations: 12 kB / 0.7237 GB, free: 10.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.2057, allocations: 15.98 kB / 0.7237 GB, free: 10.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.2058, allocations: 32.8 kB / 0.7237 GB, free: 10.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2058, allocations: 0 / 0.7237 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001005/0.2059, allocations: 65.62 kB / 0.7238 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2059, allocations: 12 kB / 0.7238 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2059, allocations: 0 / 0.7238 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2059, allocations: 0 / 0.7238 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.206, allocations: 8 kB / 0.7238 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.206, allocations: 4 kB / 0.7238 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.206, allocations: 8 kB / 0.7238 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.206, allocations: 0 / 0.7238 GB, free: 10.49 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.187e-05/0.2061, allocations: 125.7 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.2061, allocations: 3.938 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2063, allocations: 77.69 kB / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2063, allocations: 4 kB / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2063, allocations: 0 / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2063, allocations: 3.984 kB / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.2066, allocations: 278.5 kB / 0.7243 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2066, allocations: 4 kB / 0.7243 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.2067, allocations: 11.98 kB / 0.7243 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2067, allocations: 0 / 0.7243 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2067, allocations: 8 kB / 0.7243 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2067, allocations: 0 / 0.7243 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2067, allocations: 3.938 kB / 0.7243 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2069, allocations: 180.4 kB / 0.7245 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.2069, allocations: 7.938 kB / 0.7245 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2069, allocations: 4.031 kB / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.207, allocations: 0 / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.207, allocations: 7.984 kB / 0.7245 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.207, allocations: 4 kB / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.2071, allocations: 79.28 kB / 0.7246 GB, free: 9.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2071, allocations: 0 / 0.7246 GB, free: 9.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002407/0.2073, allocations: 19.94 kB / 0.7246 GB, free: 9.59 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.0005609/0.2079, allocations: 0.7369 MB / 0.7253 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.208, allocations: 39.92 kB / 0.7254 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.208, allocations: 0 / 0.7254 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.208, allocations: 12 kB / 0.7254 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2082, allocations: 11.98 kB / 0.7254 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2095, allocations: 1.332 MB / 0.7267 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.2096, allocations: 63.34 kB / 0.7267 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2096, allocations: 7.984 kB / 0.7267 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.2097, allocations: 19.38 kB / 0.7268 GB, free: 7.238 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2097, allocations: 0 / 0.7268 GB, free: 7.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.233, allocations: 1.778 MB / 0.7285 GB, free: 5.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.69, allocations: 8.812 kB / 0.7285 GB, free: 5.637 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 sys.exit(0), Time elapsed: 15.445496150990948] Failed to read output from testmodel.py, exit status != 0: 11.854697200935334 11.884865496 11.676786469 Calling exit ...