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.00185/0.00185, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001557/0.001557, allocations: 213.4 kB / 22.24 MB, free: 5.258 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.75 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.9128/0.9128, allocations: 145 MB / 457.4 MB, free: 15.25 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="me",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="me",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.002003/0.002003, allocations: 65.81 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 87.89 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002833/0.1905, allocations: 1.29 MB / 0.7202 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1917, allocations: 0.5488 MB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.1917, allocations: 0 / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1917, allocations: 3.938 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.1918, allocations: 3.938 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.1925, allocations: 151.4 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.1926, allocations: 19.91 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.1926, allocations: 4 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.1927, allocations: 8 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.1927, allocations: 11.92 kB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1927, allocations: 0 / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.1932, allocations: 263.5 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1932, allocations: 8 kB / 0.7212 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.1932, allocations: 11.92 kB / 0.7212 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1935, allocations: 139.5 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1935, allocations: 3.938 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1935, allocations: 4 kB / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1935, allocations: 0 / 0.7213 GB, free: 12.35 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.0004659/0.194, allocations: 282 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.194, allocations: 8.031 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1941, allocations: 34.73 kB / 0.7216 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.1941, allocations: 8.891 kB / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1942, allocations: 114.5 kB / 0.7217 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1943, allocations: 4.375 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1943, allocations: 8.312 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1944, allocations: 67.95 kB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1944, allocations: 7.938 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1944, allocations: 0 / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1944, allocations: 0 / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.1945, allocations: 4 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1947, allocations: 132.8 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1949, allocations: 42.55 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1949, allocations: 20.94 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1949, allocations: 0 / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.195, allocations: 34.56 kB / 0.7221 GB, free: 11.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.195, allocations: 0 / 0.7221 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006368/0.1956, allocations: 233.1 kB / 0.7223 GB, free: 11.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1957, allocations: 51.41 kB / 0.7223 GB, free: 11.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.1957, allocations: 101.8 kB / 0.7224 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1957, allocations: 29.64 kB / 0.7225 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.1958, allocations: 84.14 kB / 0.7225 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1958, allocations: 19.8 kB / 0.7226 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1959, allocations: 25.7 kB / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.196, allocations: 310.8 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.196, allocations: 15.94 kB / 0.7229 GB, free: 10.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1961, allocations: 11.98 kB / 0.7229 GB, free: 10.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.1961, allocations: 40.78 kB / 0.7229 GB, free: 10.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1961, allocations: 0 / 0.7229 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.1962, allocations: 70.14 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1962, allocations: 4 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1962, allocations: 0 / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1963, allocations: 4 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.1963, allocations: 8 kB / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1963, allocations: 0 / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.1963, allocations: 0 / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1963, allocations: 4 kB / 0.723 GB, free: 10.38 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 9.12e-05/0.1964, allocations: 121.8 kB / 0.7231 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.1965, allocations: 7.938 kB / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.1966, allocations: 73.69 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1966, allocations: 0 / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1966, allocations: 0 / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1966, allocations: 7.984 kB / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.1969, allocations: 278.6 kB / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1969, allocations: 4 kB / 0.7235 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.197, allocations: 19.98 kB / 0.7235 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.197, allocations: 0 / 0.7235 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.197, allocations: 0 / 0.7235 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.197, allocations: 4.031 kB / 0.7235 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.197, allocations: 4 kB / 0.7235 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1972, allocations: 176.3 kB / 0.7237 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.1972, allocations: 11.97 kB / 0.7237 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1973, allocations: 3.938 kB / 0.7237 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1973, allocations: 4 kB / 0.7237 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.1974, allocations: 7.984 kB / 0.7237 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1974, allocations: 4 kB / 0.7237 GB, free: 9.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.1974, allocations: 75.28 kB / 0.7238 GB, free: 9.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1974, allocations: 0 / 0.7238 GB, free: 9.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002444/0.1976, allocations: 28 kB / 0.7238 GB, free: 9.469 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.0005656/0.1982, allocations: 0.7443 MB / 0.7245 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1983, allocations: 36.16 kB / 0.7246 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1983, allocations: 0 / 0.7246 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.1984, allocations: 16 kB / 0.7246 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1986, allocations: 6.219 kB / 0.7246 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1999, allocations: 1.332 MB / 0.7259 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.2, allocations: 63.34 kB / 0.726 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.2, allocations: 8.078 kB / 0.726 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.2001, allocations: 23.44 kB / 0.726 GB, free: 7.113 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2001, allocations: 0 / 0.726 GB, free: 7.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.2312, allocations: 2.118 MB / 0.7281 GB, free: 5.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.66, allocations: 16.69 kB / 0.7281 GB, free: 5.156 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.681086540222168] Failed to read output from testmodel.py, exit status != 0: 11.772031620144844 11.801721139 11.602725374 Calling exit ...