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.001424/0.001424, 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.001613/0.001613, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9273/0.9273, allocations: 145 MB / 458.2 MB, free: 15.54 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="cs",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="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.002684/0.002684, allocations: 62.03 kB / 0.6339 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1986, allocations: 87.89 MB / 0.7198 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00319/0.2018, allocations: 1.501 MB / 0.7212 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2032, allocations: 0.6388 MB / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.2033, allocations: 0 / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.2033, allocations: 7.922 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.2034, allocations: 7.922 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.2041, allocations: 155.4 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2042, allocations: 59.64 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.2042, allocations: 0 / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.2043, allocations: 27.86 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.2043, allocations: 31.84 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2044, allocations: 4 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.2049, allocations: 343.4 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.2049, allocations: 11.98 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.205, allocations: 27.86 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.2053, allocations: 179.3 kB / 0.7227 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2053, allocations: 0 / 0.7227 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2053, allocations: 0 / 0.7227 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2053, allocations: 4 kB / 0.7227 GB, free: 12.41 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.0006452/0.2059, allocations: 321.8 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.206, allocations: 11.97 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/0.206, allocations: 4.188 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.206, allocations: 38.73 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.2061, allocations: 8.891 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2062, allocations: 110.5 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.2062, allocations: 12.38 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.2063, allocations: 4.375 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.2065, allocations: 84.84 kB / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2066, allocations: 0 / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2066, allocations: 4 kB / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2066, allocations: 11.94 kB / 0.7233 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.2069, allocations: 51.89 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.2075, allocations: 295.8 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.2078, allocations: 82.47 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2079, allocations: 24.84 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2079, allocations: 4 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.208, allocations: 38.55 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.208, allocations: 0 / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001684/0.2097, allocations: 0.5071 MB / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.2097, allocations: 59.33 kB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.2098, allocations: 93.86 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2098, allocations: 33.7 kB / 0.7244 GB, free: 10.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.2099, allocations: 84.12 kB / 0.7245 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.2099, allocations: 39.66 kB / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.21, allocations: 29.7 kB / 0.7246 GB, free: 10.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2101, allocations: 322.8 kB / 0.7249 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2102, allocations: 31.92 kB / 0.7249 GB, free: 9.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2104, allocations: 35.97 kB / 0.7249 GB, free: 9.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2106, allocations: 68.83 kB / 0.725 GB, free: 9.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2106, allocations: 0 / 0.725 GB, free: 9.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003383/0.211, allocations: 121.7 kB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.211, allocations: 8 kB / 0.7251 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.211, allocations: 0 / 0.7251 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.211, allocations: 0 / 0.7251 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2112, allocations: 27.92 kB / 0.7251 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2112, allocations: 3.938 kB / 0.7251 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.2113, allocations: 11.98 kB / 0.7252 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2113, allocations: 4 kB / 0.7252 GB, free: 9.621 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.0001046/0.2114, allocations: 117.8 kB / 0.7253 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.2114, allocations: 192 / 0.7253 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.2118, allocations: 141.5 kB / 0.7254 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2118, allocations: 0 / 0.7254 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2118, allocations: 7.875 kB / 0.7254 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2119, allocations: 0 / 0.7254 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.2125, allocations: 353.6 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2125, allocations: 4 kB / 0.7258 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.2126, allocations: 31.91 kB / 0.7258 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2126, allocations: 7.938 kB / 0.7258 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2127, allocations: 0 / 0.7258 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2127, allocations: 0 / 0.7258 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2127, allocations: 0 / 0.7258 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.2132, allocations: 249.9 kB / 0.726 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2132, allocations: 7.969 kB / 0.726 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2133, allocations: 0 / 0.726 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2134, allocations: 15.98 kB / 0.7261 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2134, allocations: 7.984 kB / 0.7261 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2134, allocations: 4 kB / 0.7261 GB, free: 8.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.2135, allocations: 87.22 kB / 0.7262 GB, free: 8.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2135, allocations: 0 / 0.7262 GB, free: 8.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003018/0.2138, allocations: 39.81 kB / 0.7262 GB, free: 8.484 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.001012/0.2148, allocations: 0.8138 MB / 0.727 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.2151, allocations: 87.81 kB / 0.7271 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2151, allocations: 4.062 kB / 0.7271 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2153, allocations: 35.92 kB / 0.7271 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2156, allocations: 10.64 kB / 0.7271 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.218, allocations: 1.605 MB / 0.7287 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2183, allocations: 0.6892 MB / 0.7294 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.359e-05/0.2184, allocations: 20.59 kB / 0.7294 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.2185, allocations: 19.44 kB / 0.7294 GB, free: 5.07 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.2185, allocations: 4 kB / 0.7294 GB, free: 5.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.2447, allocations: 2.522 MB / 0.7319 GB, free: 2.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.55, allocations: 14.09 kB / 0.7319 GB, free: 2.73 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 sys.exit(0), Time elapsed: 15.35443992796354] Failed to read output from testmodel.py, exit status != 0: 11.717389482073486 11.735357552 11.526756658 Calling exit ...