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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 108.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.8838/0.8838, allocations: 145.2 MB / 447.9 MB, free: 6.738 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 60.84 kB / 0.62 GB, free: 1.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 86.64 MB / 0.7046 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002884/0.1835, allocations: 1.463 MB / 0.706 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1846, allocations: 0.6422 MB / 0.7066 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.1846, allocations: 0 / 0.7066 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.1846, allocations: 3.938 kB / 0.7066 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.1847, allocations: 7.938 kB / 0.7067 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1852, allocations: 155.4 kB / 0.7068 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.1853, allocations: 51.78 kB / 0.7069 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.1854, allocations: 7.938 kB / 0.7069 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.1854, allocations: 31.91 kB / 0.7069 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.1855, allocations: 23.91 kB / 0.7069 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1855, allocations: 4 kB / 0.7069 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.186, allocations: 351.3 kB / 0.7073 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.186, allocations: 11.94 kB / 0.7073 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.1861, allocations: 23.86 kB / 0.7073 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1863, allocations: 182.3 kB / 0.7075 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1863, allocations: 0 / 0.7075 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1863, allocations: 3.938 kB / 0.7075 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1864, allocations: 0 / 0.7075 GB, free: 7.711 MB / 0.5294 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.0006281/0.187, allocations: 402.9 kB / 0.7078 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.187, allocations: 12.03 kB / 0.7079 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1871, allocations: 38.73 kB / 0.7079 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.1871, allocations: 4.938 kB / 0.7079 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1872, allocations: 176.3 kB / 0.7081 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1873, allocations: 8.312 kB / 0.7081 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1873, allocations: 12.38 kB / 0.7081 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1875, allocations: 86.2 kB / 0.7082 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1876, allocations: 3.938 kB / 0.7082 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1876, allocations: 0 / 0.7082 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1876, allocations: 0 / 0.7082 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1878, allocations: 47.97 kB / 0.7082 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1884, allocations: 328.7 kB / 0.7085 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1886, allocations: 78.53 kB / 0.7086 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1887, allocations: 24.84 kB / 0.7086 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1888, allocations: 0 / 0.7086 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1888, allocations: 34.56 kB / 0.7087 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1888, allocations: 0 / 0.7087 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001636/0.1904, allocations: 0.6579 MB / 0.7093 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1905, allocations: 55.41 kB / 0.7094 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.1906, allocations: 105.8 kB / 0.7095 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1906, allocations: 29.7 kB / 0.7095 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.1906, allocations: 92.03 kB / 0.7096 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.1907, allocations: 43.64 kB / 0.7096 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.1907, allocations: 29.7 kB / 0.7096 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1909, allocations: 310.8 kB / 0.7099 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.191, allocations: 35.97 kB / 0.71 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1911, allocations: 36.08 kB / 0.71 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1913, allocations: 74.45 kB / 0.7101 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1913, allocations: 0 / 0.7101 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003007/0.1916, allocations: 121.7 kB / 0.7102 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1917, allocations: 4 kB / 0.7102 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1917, allocations: 0 / 0.7102 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1917, allocations: 0 / 0.7102 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1918, allocations: 31.97 kB / 0.7102 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1918, allocations: 7.938 kB / 0.7102 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.1919, allocations: 8 kB / 0.7103 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1919, allocations: 0 / 0.7103 GB, free: 4.535 MB / 0.5294 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.894e-05/0.192, allocations: 121.8 kB / 0.7104 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.192, allocations: 7.953 kB / 0.7104 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.1924, allocations: 121.6 kB / 0.7105 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1924, allocations: 4 kB / 0.7105 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1924, allocations: 3.938 kB / 0.7105 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1924, allocations: 0 / 0.7105 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.193, allocations: 386.4 kB / 0.7109 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.193, allocations: 4 kB / 0.7109 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1931, allocations: 23.98 kB / 0.7109 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1931, allocations: 3.938 kB / 0.7109 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1931, allocations: 4 kB / 0.7109 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1931, allocations: 3.984 kB / 0.7109 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1931, allocations: 4 kB / 0.7109 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.1936, allocations: 255.3 kB / 0.7112 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.1937, allocations: 81.06 kB / 0.7112 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1937, allocations: 3.938 kB / 0.7112 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1938, allocations: 12.09 kB / 0.7112 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.1938, allocations: 11.92 kB / 0.7113 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1938, allocations: 4 kB / 0.7113 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.1939, allocations: 87.27 kB / 0.7113 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 0.7113 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002793/0.1942, allocations: 35.88 kB / 0.7114 GB, free: 3.27 MB / 0.5294 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.0008968/0.1951, allocations: 0.8258 MB / 0.7122 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1954, allocations: 71.95 kB / 0.7123 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1954, allocations: 0 / 0.7123 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1955, allocations: 47.95 kB / 0.7123 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1958, allocations: 12.06 kB / 0.7123 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1979, allocations: 1.608 MB / 0.7139 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1983, allocations: 0.6924 MB / 0.7146 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.667e-05/0.1984, allocations: 8.672 kB / 0.7146 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.1985, allocations: 23.42 kB / 0.7146 GB, free: 15.85 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.1985, allocations: 3.938 kB / 0.7146 GB, free: 15.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2238, allocations: 2.378 MB / 0.7169 GB, free: 13.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.606, allocations: 3.859 kB / 0.7169 GB, free: 13.67 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.171181855723262] Failed to read output from testmodel.py, exit status != 0: 8.676023609004915 8.691946914 8.502558835 Calling exit ...