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.001307/0.001307, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001526/0.001526, allocations: 222.8 kB / 23.03 MB, free: 4.945 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.473/1.473, 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.9263/0.9263, allocations: 145 MB / 458.2 MB, free: 15.29 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.001967/0.001967, allocations: 70.31 kB / 0.6339 GB, free: 6.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1867, allocations: 87.88 MB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002747/0.1895, allocations: 1.482 MB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1906, allocations: 0.565 MB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1906, allocations: 0 / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1906, allocations: 7.922 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.1907, allocations: 3.938 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1913, allocations: 159.4 kB / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1914, allocations: 59.53 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.1914, allocations: 4 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.1915, allocations: 23.92 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.1915, allocations: 27.91 kB / 0.722 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1915, allocations: 4 kB / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.192, allocations: 283.5 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.192, allocations: 15.94 kB / 0.7222 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.192, allocations: 19.92 kB / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1923, allocations: 171.4 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1923, allocations: 0 / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1923, allocations: 0 / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1923, allocations: 0 / 0.7224 GB, free: 12 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.0005983/0.1929, allocations: 329.8 kB / 0.7227 GB, free: 11.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.193, allocations: 8.031 kB / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.083e-05/0.193, allocations: 192 / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.193, allocations: 38.75 kB / 0.7228 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1931, allocations: 12.83 kB / 0.7228 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1932, allocations: 114.5 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1932, allocations: 8.375 kB / 0.7229 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1932, allocations: 12.31 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1935, allocations: 133.4 kB / 0.7231 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1935, allocations: 3.938 kB / 0.7231 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1935, allocations: 4 kB / 0.7231 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1935, allocations: 4 kB / 0.7231 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.1938, allocations: 51.89 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.1943, allocations: 287.8 kB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1946, allocations: 78.47 kB / 0.7235 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1947, allocations: 32.83 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1947, allocations: 0 / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1948, allocations: 34.56 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1948, allocations: 0 / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001617/0.1964, allocations: 0.5073 MB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1964, allocations: 55.34 kB / 0.7241 GB, free: 10.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.1965, allocations: 97.86 kB / 0.7242 GB, free: 9.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1965, allocations: 37.69 kB / 0.7242 GB, free: 9.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1966, allocations: 80.14 kB / 0.7243 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1966, allocations: 47.64 kB / 0.7243 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.1967, allocations: 25.72 kB / 0.7244 GB, free: 9.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1968, allocations: 318.8 kB / 0.7247 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.197, allocations: 31.98 kB / 0.7247 GB, free: 9.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1971, allocations: 34.59 kB / 0.7247 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1973, allocations: 72.77 kB / 0.7248 GB, free: 9.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1973, allocations: 0 / 0.7248 GB, free: 9.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003164/0.1976, allocations: 125.7 kB / 0.7249 GB, free: 9.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1976, allocations: 4 kB / 0.7249 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1977, allocations: 0 / 0.7249 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1977, allocations: 0 / 0.7249 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1978, allocations: 27.92 kB / 0.7249 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1978, allocations: 11.92 kB / 0.725 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.1979, allocations: 4 kB / 0.725 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1979, allocations: 4 kB / 0.725 GB, free: 9.152 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.0001632/0.1981, allocations: 113.8 kB / 0.7251 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1981, allocations: 8 kB / 0.7251 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1985, allocations: 137.5 kB / 0.7252 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1985, allocations: 4 kB / 0.7252 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1985, allocations: 7.875 kB / 0.7252 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1985, allocations: 0 / 0.7252 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.199, allocations: 345.6 kB / 0.7255 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.199, allocations: 0 / 0.7255 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1992, allocations: 27.97 kB / 0.7256 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1992, allocations: 7.938 kB / 0.7256 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1992, allocations: 7.938 kB / 0.7256 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1992, allocations: 4 kB / 0.7256 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1992, allocations: 4 kB / 0.7256 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.1997, allocations: 246.2 kB / 0.7258 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.1997, allocations: 11.91 kB / 0.7258 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1998, allocations: 0 / 0.7258 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1999, allocations: 7.984 kB / 0.7259 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.1999, allocations: 16.05 kB / 0.7259 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1999, allocations: 4 kB / 0.7259 GB, free: 8.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.1999, allocations: 75.28 kB / 0.7259 GB, free: 8.059 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 0.7259 GB, free: 8.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002813/0.2002, allocations: 43.86 kB / 0.726 GB, free: 8.016 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.0009267/0.2011, allocations: 0.8098 MB / 0.7268 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.2015, allocations: 87.88 kB / 0.7269 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2015, allocations: 0 / 0.7269 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2016, allocations: 40.53 kB / 0.7269 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2019, allocations: 14.62 kB / 0.7269 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2041, allocations: 1.613 MB / 0.7285 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.426e-05/0.2042, allocations: 76.03 kB / 0.7286 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.2042, allocations: 16.59 kB / 0.7286 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.2043, allocations: 23.44 kB / 0.7286 GB, free: 5.215 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2043, allocations: 3.938 kB / 0.7286 GB, free: 5.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.2353, allocations: 2.551 MB / 0.7311 GB, free: 2.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.74, allocations: 14.98 kB / 0.7311 GB, free: 2.863 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.56988495204132] Failed to read output from testmodel.py, exit status != 0: 11.903833462041803 11.927190325 11.730632242 Calling exit ...