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.002048/0.002048, allocations: 116.1 kB / 17.17 MB, free: 6 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.002226/0.002226, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9498/0.9498, allocations: 144.9 MB / 454.5 MB, free: 9.992 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.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.003401/0.003401, allocations: 73.83 kB / 0.6287 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1856, allocations: 87.83 MB / 0.7145 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00282/0.1884, allocations: 1.291 MB / 0.7157 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1896, allocations: 0.6192 MB / 0.7163 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.1896, allocations: 0 / 0.7163 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1897, allocations: 3.938 kB / 0.7163 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.1897, allocations: 0 / 0.7163 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.1904, allocations: 151.4 kB / 0.7165 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.1904, allocations: 15.92 kB / 0.7165 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.1905, allocations: 0 / 0.7165 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.1905, allocations: 12 kB / 0.7165 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.1906, allocations: 11.92 kB / 0.7165 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1906, allocations: 0 / 0.7165 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.1912, allocations: 347.3 kB / 0.7169 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1912, allocations: 0 / 0.7169 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1912, allocations: 11.94 kB / 0.7169 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1915, allocations: 147.8 kB / 0.717 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1915, allocations: 4 kB / 0.717 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1915, allocations: 0 / 0.717 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1915, allocations: 0 / 0.717 GB, free: 9.102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005155/0.1921, allocations: 367.1 kB / 0.7174 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1921, allocations: 8.031 kB / 0.7174 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.347e-05/0.1921, allocations: 192 / 0.7174 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.1922, allocations: 34.75 kB / 0.7174 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1922, allocations: 4.891 kB / 0.7174 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1923, allocations: 172.3 kB / 0.7176 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1924, allocations: 4.375 kB / 0.7176 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1924, allocations: 4.312 kB / 0.7176 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1925, allocations: 46 kB / 0.7176 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1925, allocations: 4 kB / 0.7176 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1925, allocations: 0 / 0.7176 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1925, allocations: 3.938 kB / 0.7176 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.1926, allocations: 4 kB / 0.7176 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.1928, allocations: 161.7 kB / 0.7178 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.193, allocations: 42.55 kB / 0.7178 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.193, allocations: 24.92 kB / 0.7179 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.193, allocations: 4 kB / 0.7179 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1931, allocations: 34.5 kB / 0.7179 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1931, allocations: 0 / 0.7179 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007265/0.1938, allocations: 306.3 kB / 0.7182 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1938, allocations: 55.41 kB / 0.7182 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.1939, allocations: 101.8 kB / 0.7183 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1939, allocations: 29.7 kB / 0.7184 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.194, allocations: 80.14 kB / 0.7184 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.194, allocations: 23.8 kB / 0.7185 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1941, allocations: 21.7 kB / 0.7185 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1942, allocations: 310.8 kB / 0.7188 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.1943, allocations: 19.92 kB / 0.7188 GB, free: 7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.1943, allocations: 15.98 kB / 0.7188 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.1943, allocations: 24.86 kB / 0.7188 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1943, allocations: 0 / 0.7188 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001131/0.1945, allocations: 77.56 kB / 0.7189 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1945, allocations: 8 kB / 0.7189 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1945, allocations: 64 / 0.7189 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1945, allocations: 4 kB / 0.7189 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.1945, allocations: 11.94 kB / 0.7189 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1946, allocations: 3.984 kB / 0.7189 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.1946, allocations: 0 / 0.7189 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1946, allocations: 4 kB / 0.7189 GB, free: 6.844 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 (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.965e-05/0.1947, allocations: 109.8 kB / 0.719 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1947, allocations: 11.94 kB / 0.7191 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.1948, allocations: 69.61 kB / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1948, allocations: 0 / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1948, allocations: 7.984 kB / 0.7191 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1948, allocations: 0 / 0.7191 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.1952, allocations: 311.4 kB / 0.7194 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1952, allocations: 0 / 0.7194 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.1953, allocations: 15.94 kB / 0.7194 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1953, allocations: 8.031 kB / 0.7195 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1953, allocations: 3.938 kB / 0.7195 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1953, allocations: 3.984 kB / 0.7195 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1953, allocations: 0 / 0.7195 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1955, allocations: 180.3 kB / 0.7196 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.1956, allocations: 85.05 kB / 0.7197 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1956, allocations: 4.031 kB / 0.7197 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.1957, allocations: 4.062 kB / 0.7197 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1957, allocations: 8 kB / 0.7197 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1957, allocations: 192 / 0.7197 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.1957, allocations: 83.78 kB / 0.7198 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1957, allocations: 0 / 0.7198 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002625/0.196, allocations: 23.88 kB / 0.7198 GB, free: 5.82 MB / 0.5294 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.0006291/0.1966, allocations: 0.7444 MB / 0.7206 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.1968, allocations: 35.92 kB / 0.7206 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1968, allocations: 0 / 0.7206 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.1968, allocations: 12 kB / 0.7206 GB, free: 5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.197, allocations: 7 kB / 0.7206 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1985, allocations: 1.327 MB / 0.7219 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1988, allocations: 0.6846 MB / 0.7226 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.1988, allocations: 8 kB / 0.7226 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1989, allocations: 11.44 kB / 0.7226 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1989, allocations: 0 / 0.7226 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.2193, allocations: 1.687 MB / 0.7242 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.432, allocations: 9.922 kB / 0.7243 GB, free: 1.371 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.435729193966836] Failed to read output from testmodel.py, exit status != 0: 8.558740955020767 8.580248085 8.384015932 Calling exit ...